summary refs log tree commit diff stats
path: root/tag-zplug/config/zsh/zshenv
diff options
context:
space:
mode:
authorAlan Pearce2016-06-26 16:34:09 +0200
committerAlan Pearce2016-06-26 16:34:09 +0200
commitf766b7ba9ee98fe81a0b17581177314c57443818 (patch)
tree66d87cd4c0c64df4c5f226c760fb0912e56fab55 /tag-zplug/config/zsh/zshenv
parent665d0c79f6c3167ca125666cedd85e8c29a47bdc (diff)
downloadnixfiles-f766b7ba9ee98fe81a0b17581177314c57443818.tar.lz
nixfiles-f766b7ba9ee98fe81a0b17581177314c57443818.tar.zst
nixfiles-f766b7ba9ee98fe81a0b17581177314c57443818.zip
Zplug: Allow installing into $HOME
Diffstat (limited to 'tag-zplug/config/zsh/zshenv')
-rw-r--r--tag-zplug/config/zsh/zshenv6
1 files changed, 6 insertions, 0 deletions
diff --git a/tag-zplug/config/zsh/zshenv b/tag-zplug/config/zsh/zshenv
index e69de29b..d5ef76a1 100644
--- a/tag-zplug/config/zsh/zshenv
+++ b/tag-zplug/config/zsh/zshenv
@@ -0,0 +1,6 @@
+if [[ -f $ZDOTDIR/zshenv.local ]]
+then
+	. $ZDOTDIR/zshenv.local
+fi
+
+ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug}
\ No newline at end of file