mirror of
https://github.com/kovidgoyal/kitty.git
synced 2025-12-23 12:14:55 +01:00
Change the order of file checks since .zshrc is most likely to exist
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user