summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2015-05-06 09:24:32 +0200
committerAlan Pearce2015-05-06 09:24:32 +0200
commit3f874826223174b6ab04f3c1176a6ba6205d1686 (patch)
treeb574a419c6e3d3d5d8d6e411a473300fef5e608f /tag-zsh
parent44a2213952d1537e06df45ec9fd9bcb02ba1b910 (diff)
downloadnixfiles-3f874826223174b6ab04f3c1176a6ba6205d1686.tar.lz
nixfiles-3f874826223174b6ab04f3c1176a6ba6205d1686.tar.zst
nixfiles-3f874826223174b6ab04f3c1176a6ba6205d1686.zip
zsh: Source zshenv.{local,private} if extant
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshenv10
1 files changed, 10 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index ae5f1cde..df793cfc 100755
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -56,3 +56,13 @@ then
 	envoy -t gpg-agent
 	eval $(envoy -p)
 fi
+
+if [[ -f $ZDOTDIR/zshenv.local ]]
+then
+	. $ZDOTDIR/zshenv.local
+fi
+
+if [[ -f $ZDOTDIR/zshenv.private ]]
+then
+	. $ZDOTDIR/zshenv.private
+fi