-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Config: Disable environment prompt when using shell #1853
Comments
Ah, upon further research, I have discovered the environment variable, Because Poetry uses Virtualenv internally, exporting this with Perhaps this is a documentation issue instead? People who are using Poetry as a turnkey solution shouldn't have to dig into the internal workings (ie virtualenv). Otherwise, a config variable could set |
I second this. I would also like a config variable to prevent the In my situation, I use bash-it to have a cute shell prompt. Where would this setting be (@MooseV2)? in the |
I have this problem, i use powerline_shell and i am getting two times the virtualenv name. |
Poetry just uses upstream virtualenv -- as such, this is a docs issue. |
Hello, I'd like to tackle this issue if possible. If so, could I have some guidance of the updates needed for the docs? I'd be happy to groom the issue further with assistance, thanks! |
Setting python3 -m poetry config --list
python3 -m poetry config --local --list
python3 -m poetry config virtualenvs.prompt python3 -m poetry config --local virtualenvs.promptpython3 -m poetry config --local virtualenvs.prompt null https://gist.github.com/tamakiii/6946265e53872882d2114b1a50bb828a |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
Recently, a feature was added that allows
poetry shell
to modify the prompt (PS1 in some shells) to show the current environment. See #1642.However, this conflicts with prompts that already show the environment, causing text duplication.
A configuration option to prevent the prompt from being modified would resolve this.
My configuration
OS: macOS Catalina 10.15.1
Shell: Fish 3.0.2
Poetry: 1.0.0
The text was updated successfully, but these errors were encountered: