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 | |
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')
-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 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 ]] diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 365214c9..d183baa2 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 |