-
Notifications
You must be signed in to change notification settings - Fork 54
Fish shell support #12
Comments
fwiw, It's pretty unlikely you'll be able to trivially make any non-fish tool work in fish, but if you find a way that would help |
Yep, had this issue for a while, but see https://github.com/passcod/nvm-fish-wrapper which is now also mentioned in the official readme. In theory the fish-wrapper should work forever since it just runs it in an instance of bash. But I suppose maybe it will work then in the bash_profile. Will look into that. |
@Globegitter I'm actually not very good with The majority of what you'll need to do is understand what's going on here. Both If this is an undertaking that you're interested in, I'll happily accept a pull request. This being the first time I've ever heard of Fish, though, I'm going to close this as it's not something that I'll be taking on at this time. Again, happy to accept a pull request for support! |
Fish is a very popular shell. Would you mind adding a note (or accepting a PR) to the README stating you don't/won't support it? |
By what metric is a shell that’s not POSIX compliant popular? |
Anecdotal. By what metric is any shell used? I can say "chairs are popular" without kicking down doors and issuing a double-blind chair census. |
@corysimmons I'm not really sure it makes sense to support it as it can't work with all possible plugins. You'd have to make it work with I'd think that it may make more sense to fork what you want from this project & create something new as it's probably going to end up being quite different in the end from this. Supporting it outright seems as though it would add a lot of specific edge cases (which I'm not too keen to maintain)… I don't really even use this much myself anymore as I'm using Docker more these days. |
@Globegitter
|
This tool is looking great so far and it woud be great if it would also support fish shell: https://github.com/fish-shell/fish-shell
I tried to simply modify the syntax to fish-shell:
[[ -s "$HOME/.avn/bin/avn.sh" ]]; and source "$HOME/.avn/bin/avn.sh" # load avn
but it is not working completely since fish also seems to have issues with the square brackets.What exactly is the first bit doing? That might make it easier to translate to fish.
The text was updated successfully, but these errors were encountered: