all repos — archive/dotfiles @ 88343c9a362f491f60adbb2e731c9cc0e6995940

Superseded by nixfiles

zsh: Use $ZDOTDIR instead of hardcoded path
Alan Pearce alan@alanpearce.co.uk
Sat, 12 Apr 2014 18:27:16 +0100
commit

88343c9a362f491f60adbb2e731c9cc0e6995940

parent

d822d1211c7b6beb4b29277a28d47fade2825c94

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M tag-zsh/config/zsh/zshenvtag-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/zshrctag-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