summary refs log tree commit diff stats
path: root/tag-zplug/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zplug/config/zsh')
-rw-r--r--tag-zplug/config/zsh/zshenv6
-rw-r--r--tag-zplug/config/zsh/zshrc5
2 files changed, 8 insertions, 3 deletions
diff --git a/tag-zplug/config/zsh/zshenv b/tag-zplug/config/zsh/zshenv
index e69de29..d5ef76a 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
diff --git a/tag-zplug/config/zsh/zshrc b/tag-zplug/config/zsh/zshrc
index dc55d6d..5fd52db 100644
--- a/tag-zplug/config/zsh/zshrc
+++ b/tag-zplug/config/zsh/zshrc
@@ -1,12 +1,11 @@
 # -*- mode: sh; -*-
-export ZPLUG_HOME=/usr/local/opt/zplug
-source $ZPLUG_HOME/init.zsh
+source ${ZPLUG_HOME:-~/projects/zplug}/init.zsh
 
 zplug "zsh-users/zsh-completions"
 zplug "mafredri/zsh-async"
 zplug "sindresorhus/pure"
 zplug "Tarrasch/zsh-autoenv", as:plugin
-zplug "clvv/fasd", hook-build:"make install"
+zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install"
 zplug "tymm/zsh-directory-history", as:command, use:"dir{hist,log}"
 zplug "tymm/zsh-directory-history", as:plugin