-
Notifications
You must be signed in to change notification settings - Fork 216
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
Integrate setting the prompt so that the user sees they are in a pixi shell #219
Comments
Just to be sure I added a note in this issue, that you need to add the This is my result using [rarts@fedora test]$ pixi shell
(test) [rarts@fedora test]$ exit
exit
[rarts@fedora test]$ @kolibril13 The fact that all tools can activate the environment is because we all implement the "conda spec" so its "just" a conda environment. pixi does nothing special to those environments. The magic is in the interaction with those environments. The default behaviour of the conda environments is to use the "name" or the path but since we don't store a global list of names for the environments we can't use the same logic that conda uses to get the name in the prompt. |
I was not, indeed after doing that the feature is working for me, thanks! |
This has been fixed in #385 |
When moving into a
pixi shell
it can be convenient to see that the shell is active.[rarts@fedora test] $ pixi shell (test) [rarts@fedora test] $ exit [rarts@fedora test] $
NOTE: to get this to work you have to run
pixi completion
in your shells activation script, e.g..bashrc
or.zshrc
. There are examples in the docsCurrently supported:
The text was updated successfully, but these errors were encountered: