From c5981f5eb26d93dde9800103d0047535a701e725 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Thu, 4 Jul 2024 21:48:46 +0300 Subject: [PATCH] [zsh] fix importing local config --- zsh/zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index 0ad24bb..396e22b 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -12,4 +12,8 @@ setopt histignoredups source ~/.dotfiles/git/git-prompt.sh setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ ' -source ~/.zshrc_local + +if [ -f "~/.zsh_local" ] +then + source ~/.zshrc_local +fi