zsh: move zsh-completions in $XDG_CONFIG_HOME

master
Guillaume Dott 2019-04-15 13:57:19 +02:00
parent 5710a11ea2
commit 58081d4107
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.swp *.swp
vim/bundle vim/bundle
zsh/zsh-completions

View File

@ -10,7 +10,7 @@ zle -N edit-command-line
# Auto-completion # # Auto-completion #
#-----------------# #-----------------#
# https://github.com/zsh-users/zsh-completions # https://github.com/zsh-users/zsh-completions
[ -d "$HOME/.zsh/zsh-completions/src" ] && fpath=($HOME/.zsh/zsh-completions/src $fpath) [ -d "$HOME/.config/zsh/zsh-completions/src" ] && fpath=($HOME/.config/zsh/zsh-completions/src $fpath)
autoload -Uz compinit && compinit -d $ZCOMPDUMP autoload -Uz compinit && compinit -d $ZCOMPDUMP