Is there any way to make virtualenvwrapper work in fish shell? When trying to run virtualenvwrapper commands, like workon, I get the following error:
fish: Unknown command 'workon' And when I run
source /usr/local/bin/virtualenvwrapper.sh I get a very long error starting with:
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. /usr/local/bin/virtualenvwrapper.sh (line 67): if [ "$OS" = "Windows_NT" ] && [ "$MSYSTEM" = "MINGW32" ] and ending with:
source: Error while reading file '/usr/local/bin/virtualenvwrapper.sh'
There are a number of alternatives, but the best approach I've found is https://github.com/adambrenecki/virtualfish
That will give you a .fish wrapper around virtualenv with all the virtualenvwrapper commands you are used to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With