summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-09-28 09:37:11 +0200
committerAlan Pearce2016-09-28 09:37:11 +0200
commit5fd2b8a8f56d43b4723040be3fa1eece9db30bac (patch)
treee72128aeaddfbdace47db32ca0f53855467e3e49 /tag-zsh
parent1accc02d12e064f454a9acadf1d5c1af62e65458 (diff)
downloadnixfiles-5fd2b8a8f56d43b4723040be3fa1eece9db30bac.tar.lz
nixfiles-5fd2b8a8f56d43b4723040be3fa1eece9db30bac.tar.zst
nixfiles-5fd2b8a8f56d43b4723040be3fa1eece9db30bac.zip
zsh: Source private zshenv if exists
Diffstat (limited to 'tag-zsh')
-rw-r--r--tag-zsh/config/zsh/zshenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index 6c3721f8..93893530 100644
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -5,6 +5,11 @@ then
 		. $ZDOTDIR/zshenv.local
 	fi
 
+	if [[ -f $ZDOTDIR/zshenv.private ]]
+	then
+		. $ZDOTDIR/zshenv.private
+	fi
+
 	ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug}
 
 	if [[ -z $SSH_AUTH_SOCK ]]