Skip to content

Commit

Permalink
Use .zshrc instead of .zprofile
Browse files Browse the repository at this point in the history
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
  • Loading branch information
abitrolly committed Oct 10, 2020
1 parent 056857f commit 071df78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def get_unix_profiles(self):

if "zsh" in SHELL:
zdotdir = os.getenv("ZDOTDIR", HOME)
profiles.append(os.path.join(zdotdir, ".zprofile"))
profiles.append(os.path.join(zdotdir, ".zshrc"))

bash_profile = os.path.join(HOME, ".bash_profile")
if os.path.exists(bash_profile):
Expand Down

0 comments on commit 071df78

Please sign in to comment.