Update prompt environment variable when opening shell
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
When running poetry shell
you have no idea your in the virtualenv or not. Please add the virtualenv’s name to the $PROMPT or $PS1 variable.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Update prompt environment variable when opening shell #1642
When running poetry shell you have no idea your in the virtualenv or not. Please add the virtualenv's name to the $PROMPT or...
Read more >How can I update cygwin shell environment variables set in ...
variable, 2) type cmd => Command Prompt is opened, 3) type my_app (which is in the my_dir ), 4) my_app: command not found...
Read more >Updating your environment variables script - IBM
Open your existing environment variable shell script in a text editor. Locate the VERSION entry and specify the version of Cloud Pak for...
Read more >cmd - Is there a command to refresh environment variables ...
The easiest way to add a variable to the path without rebooting for the current session is to open the command prompt ......
Read more >Environment Variables in Windows/macOS/Linux
To set (or change) a environment variable, use command " set varname=value ". There shall be no spaces before and after the '='...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is for Cmder on Windows 10
This is supposed to be an automatic feature on Cmder in the next release. https://github.com/cmderdev/cmder/blob/master/vendor/clink.lua#L30-L36 But it has not still hit the scoop yet. Other issue is that obviously what’s mentioned by @rfkortekaas I attempted to go around by an alias poet
λ alias poet=poetry shell $t %ConEmuDir%\..\init.bat
This did & did not ~ workObviously, I need to do something here C:\Users\myUser.poetry\lib\poetry\utils
{tried adding pull path to init.bat but got another error.}
Please try the latest pre-release (Poetry version 1.0.0b8) that has this feature, in a working state.