This commit is contained in:
Kovid Goyal 2021-10-23 18:55:55 +05:30
parent 5b2ba448b6
commit 4fb804efc6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,7 +53,7 @@ def setup_integration(shell_name: str, rc_path: str, template: str = posix_templ
def setup_zsh_integration() -> None:
base = os.environ.get('ZDOTDIR', os.path.expanduser('~'))
rc = os.path.join(base, '.zshrc')
if os.path.exists(rc):
if os.path.exists(rc): # dont prevent zsh-newuser-install from running
setup_integration('zsh', rc)