You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
virtualenvwrapper does not work with fish shell #100
I don't see Fish ever working, TBH. I wrote this little test script in #105 to explore the best way of setting $VIRTUALENVWRAPPER_SCRIPT:
# Saved as test_arg0.shecho"0: $0"echo"BASH_SOURCE: ${BASH_SOURCE}"echo"ZSH_ARGZERO: ${ZSH_ARGZERO}"echo"ZSH_SCRIPT: ${ZSH_SCRIPT}"
Then I tried to run it through Fish:
$ fish
ferd@$HOSTNAME /tmp> source test_arg0.sh
test_arg0.sh (line 2): Variables cannot be bracketed. In fish, please use "$BASH_SOURCE".
echo"BASH_SOURCE: ${BASH_SOURCE}"
If Fish rejects ${VARIABLE} syntax, that's game over. It'd require a complete rewrite that'd no longer be compatible with any of the other shells.
+1 from me, unless some Fish user wants to port the setup script to their shell and include it as an additional implementation I think Fish support is dead in the water. It's insufficiently Bourne-compatible to be able to use the same shell scripts as the currently-supported shells.
virtualenvwrapper does not work with fish shell