Open weltoph opened 8 years ago
Woah, sorry about the delay responding, I never got any notification that an issue was added!
I'll look into it this weekend, but I'm guessing just changing the name of "_old_fish_prompt" to something else more "prm specific" should do the trick.
By the way, you should look into VirtualFish if you want to use virtualenvs on the fish shell, I've never had this issue using it!
EDIT: I've just made a commit that should fix the issue (check out the "fix-old-fish-prompt-name-collision" branch), would you mind trying it?
Hello,
I encountered a problem when using prm-fish to start a virtualenv environment. When sourcing the activate.fish script of the virtualenv from the prm-start-script the following errors occur:
and on deactivating the virtuelenv from the prm-stop-script the following occurs:
It appears that there is a name collision of _old_fish_prompt from both scripts. A workaround is to set the VIRTUAL_ENV_DISABLE_PROMPT environment variable which prevents virtual environments from changing your prompt, but I guess it would me more pleasing to avoid this name clashes. I don't know enough about fish yet to do so, but I hope someone can do so.
Best, Christoph