virtualenv icon indicating copy to clipboard operation
virtualenv copied to clipboard

Unknown command '_old_fish_prompt' active.fish

Open gaborbernat opened this issue 5 years ago • 2 comments

Per @balopat:

Yeah, this is still an issue - https://github.com/pypa/virtualenv/issues/480#issuecomment-285003214 is the right direction. Easy to reproduce:

  1. activate virtualenv
  2. exec fish
  3. activate virtualenv again

Fix: before exec, deactivate

gaborbernat avatar Oct 21 '20 07:10 gaborbernat

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

itmecho avatar Apr 28 '21 08:04 itmecho

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.

thomasbbrunner avatar Jun 15 '22 13:06 thomasbbrunner

As above.

gaborbernat avatar Jun 27 '23 03:06 gaborbernat