diff --git a/.chezmoiexternal.yaml b/.chezmoiexternal.yaml index 13932e6..c462638 100644 --- a/.chezmoiexternal.yaml +++ b/.chezmoiexternal.yaml @@ -22,7 +22,11 @@ .local/share/zsh/plugins/zsh-syntax-highlighting: type: git-repo url: https://github.com/zsh-users/zsh-syntax-highlighting.git - clone.args: --branch 0.7.1 + clone.args: --branch 0.8.0 +.local/share/zsh/plugins/zsh-completions: + type: git-repo + url: https://github.com/zsh-users/zsh-completions + clone.args: --branch 0.35.0 {{- if .development.conda }} .local/share/zsh/completion/zsh-conda-completion: type: git-repo diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index 7179e87..a8f1c63 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -42,6 +42,8 @@ alias_if_else () { # autocompletion ## -------------------------------------------------- +fpath+="$XDG_DATA_HOME/zsh/completion/zsh-completions" + {{ if .development.conda -}} # add conda completions to path if desired fpath+="$XDG_DATA_HOME/zsh/completion/zsh-conda-completion"