summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--host-ap-spotcap.local/config/zsh/zshenv.local1
-rw-r--r--tag-zplug/config/zsh/zshenv6
-rw-r--r--tag-zplug/config/zsh/zshrc5
3 files changed, 9 insertions, 3 deletions
diff --git a/host-ap-spotcap.local/config/zsh/zshenv.local b/host-ap-spotcap.local/config/zsh/zshenv.local
index f6881be..35fe7a3 100644
--- a/host-ap-spotcap.local/config/zsh/zshenv.local
+++ b/host-ap-spotcap.local/config/zsh/zshenv.local
@@ -3,3 +3,4 @@ if [[ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]]
 then
 	. $HOME/.nix-profile/etc/profile.d/nix.sh;
 fi
+export ZPLUG_HOME=/usr/local/opt/zplug
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