-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyenv-virtualenv: prompt changing not working for fish #385
Comments
@aronla what message are you seeing? |
@agoose77 I get the following:
However, when sourcing |
I'm also having this issue |
I am having this issue as well |
It seems like prompt changing will be removed from future release too, I don't know why this is the case. pyenv-virtualenv/bin/pyenv-sh-activate Lines 214 to 234 in 294f64f
|
Most probably, Virtualenv didn't support Fish when this code was written but now, it does. So feel free to submit a PR. |
As a workaround, I have added to my set -gx PYENV_VIRTUALENV_DISABLE_PROMPT 1 and in my set pyenv_version (pyenv version-name | string split ':') and use |
Hi, is this latest comment the solution?
Is the right solution to copy paste the above code? Is there something else? |
For what it's worth, the following out-of-the-box prompts will display the current virtualenv (select them with the
EDIT: Or just use https://github.com/IlanCosman/tide |
Hi! I'm using fish and I'm running into the above message when I do
pyenv activate my_venv
.If I do
source .../my_venv/activate.fish
the prompt shows up so it doesn't look as if it should be impossible to get the same to work withpyenv activate
.This issue is very related/the same as the stale #284
Thank you, and thanks for a great project!
The text was updated successfully, but these errors were encountered: