mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 13:45:16 +00:00
Change the order of file checks since .zshrc is most likely to exist
This commit is contained in:
parent
0a9005f5ce
commit
5bc2fa187c
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ def setup_fish_env(env: Dict[str, str]) -> None:
|
|||
def setup_zsh_env(env: Dict[str, str]) -> None:
|
||||
zdotdir = os.environ.get('ZDOTDIR')
|
||||
base = zdotdir or os.path.expanduser('~')
|
||||
for q in ('.zshenv', '.zprofile', '.zshrc', '.zlogin'):
|
||||
for q in ('.zshrc', '.zshenv', '.zprofile', '.zlogin'):
|
||||
if os.path.exists(os.path.join(base, q)):
|
||||
break
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue