all repos — nixfiles @ 88343c9a362f491f60adbb2e731c9cc0e6995940

System and user configuration, managed by nix and home-manager

zsh: Use $ZDOTDIR instead of hardcoded path

Alan Pearce
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