-
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
Self install to PATH of other shell profiles #2620
Comments
I see the solution to add to |
Because `.zprofile` is only run for login shells, it is not used by graphical terminals. `.zprofile` is also not created by default. Fixes python-poetry#2620
Because `.zprofile` is only run for login shells, it is not used by graphical terminals. `.zprofile` is also not created by default. Fixes #2620
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. |
Using a vanilla macOS Catalina v10.15.5. The default shell profile Terminal uses is zsh. (~/.zshrc)
Poetry does not automatically install to PATH for this type of set up (possibly others).
Could it be set up to handle the different types of shell profiles?
Example:
I installed poetry via curl:
And I receive the message:
I do not have either
$HOME/.profile
or$HOME/.zprofile
, after install I runpoetry --version
and receive:The ticket #507 was opened before but was closed since the user found that you can manually modify
~/.zshrc
and addexport PATH="$HOME/.poetry/bin:$PATH"
to get it to work. (verified it does work)This ticket is to request the feature of having poetry automatically detect the shell profile and add to the PATH automatically.
The text was updated successfully, but these errors were encountered: