ENH dont use system packages for zsh-comps

This commit is contained in:
Nathan Dwarshuis 2024-11-19 20:48:14 -05:00
parent 9e0ee5fea8
commit 36c475af10
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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"