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 /tag-zsh/config/zsh/zshenv | |
parent | d822d1211c7b6beb4b29277a28d47fade2825c94 (diff) | |
download | nixfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.tar.lz nixfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.tar.zst nixfiles-88343c9a362f491f60adbb2e731c9cc0e6995940.zip |
zsh: Use $ZDOTDIR instead of hardcoded path
Diffstat (limited to 'tag-zsh/config/zsh/zshenv')
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 11932e6e..c4b3b9c6 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 ]] |