diff options
author | Alan Pearce | 2016-06-26 16:34:09 +0200 |
---|---|---|
committer | Alan Pearce | 2016-06-26 16:34:09 +0200 |
commit | f766b7ba9ee98fe81a0b17581177314c57443818 (patch) | |
tree | 66d87cd4c0c64df4c5f226c760fb0912e56fab55 /tag-zplug | |
parent | 665d0c79f6c3167ca125666cedd85e8c29a47bdc (diff) | |
download | dotfiles-f766b7ba9ee98fe81a0b17581177314c57443818.tar.lz dotfiles-f766b7ba9ee98fe81a0b17581177314c57443818.tar.zst dotfiles-f766b7ba9ee98fe81a0b17581177314c57443818.zip |
Zplug: Allow installing into $HOME
Diffstat (limited to 'tag-zplug')
-rw-r--r-- | tag-zplug/config/zsh/zshenv | 6 | ||||
-rw-r--r-- | tag-zplug/config/zsh/zshrc | 5 |
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 |