virtualenv
virtualenv copied to clipboard
Unknown command '_old_fish_prompt' active.fish
Per @balopat:
Yeah, this is still an issue - https://github.com/pypa/virtualenv/issues/480#issuecomment-285003214 is the right direction. Easy to reproduce:
- activate virtualenv
-
exec fish - activate virtualenv again
Fix: before exec, deactivate
For what it's worth, I fixed this by adding this to my ~/.tmux.conf
set -g default-shell '/usr/bin/fish'
After adding that line and restarting my tmux session, I can't reproduce the error at all
This bug has been fixed in the latest virtualenv version. I cannot reproduce it.
I believe people are getting virtualenv and venv confused here (I know I was). This bug is present in the latest venv version. I created an issue there.
As above.