diff --git a/home/private_dot_config/zsh/dot_zplugins b/home/private_dot_config/zsh/dot_zplugins index cf2bb15..de20045 100644 --- a/home/private_dot_config/zsh/dot_zplugins +++ b/home/private_dot_config/zsh/dot_zplugins @@ -23,7 +23,6 @@ ${ZDOTDIR}/plugins/prompt # wrap-up mattmc3/zephyr path:plugins/confd -mattmc3/zephyr path:plugins/completion ${ZDOTDIR}/plugins/zexists # deferred diff --git a/home/private_dot_config/zsh/dot_zprofile b/home/private_dot_config/zsh/dot_zprofile index bd9fea4..162ad48 100644 --- a/home/private_dot_config/zsh/dot_zprofile +++ b/home/private_dot_config/zsh/dot_zprofile @@ -14,6 +14,13 @@ done # Ensure path arrays do not contain duplicates. typeset -gU path fpath cdpath +# add custom completions +fpath=( + ${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}/completions(-/FN) + + $fpath +) + # Set the list of directories that zsh searches for commands. path=( $HOME/{,.local/}{,s}bin(N)