zsh: Use $ZDOTDIR instead of hardcoded path
Alan Pearce alan@alanpearce.co.uk
Sat, 12 Apr 2014 18:27:16 +0100
2 files changed, 3 insertions(+), 3 deletions(-)
M tag-zsh/config/zsh/zshenv → tag-zsh/config/zsh/zshenv
@@ -16,10 +16,10 @@ fi export PATH -myfuncs=( ~/projects/dotfiles/zsh/functions/*(/) ) +myfuncs=( $ZDOTDIR/functions/*(/) ) fpath=( $myfuncs - ~/projects/dotfiles/zsh/completion/ + $ZDOTDIR/completion/ $fpath ) if [[ -d /usr/local/share/zsh-completions ]]
M tag-zsh/config/zsh/zshrc → tag-zsh/config/zsh/zshrc
@@ -358,5 +358,5 @@ autoload -U fasd source ~/.zsh/cache/fasd-init-zsh if [[ $OSTYPE == freebsd* ]]; then - source ~/projects/dotfiles/zsh/freebsd.zsh + source $ZDOTDIR/freebsd.zsh fi