diff options
author | Alan Pearce | 2014-04-12 18:27:16 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-12 18:27:16 +0100 |
commit | 88343c9a362f491f60adbb2e731c9cc0e6995940 (patch) | |
tree | dbfa11dfd81e39a3c2da99fc934884b6e75881be | |
parent | d822d1211c7b6beb4b29277a28d47fade2825c94 (diff) | |
download | dotfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.tar.lz dotfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.tar.zst dotfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.zip |
zsh: Use $ZDOTDIR instead of hardcoded path
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 4 | ||||
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 11932e6..c4b3b9c 100755 --- a/tag-zsh/config/zsh/zshenv +++ b/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 ]] diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 365214c..d183baa 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/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 |