fixed scp completion
This commit is contained in:
parent
f87806f09b
commit
4cf0731971
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,10 @@ smartcache eval direnv hook zsh
|
||||||
eval "$(mise activate zsh)"
|
eval "$(mise activate zsh)"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
|
||||||
|
zstyle ':completion:*:(scp|sftp|rsh|rsync):*' hosts ${=${${(f)"$(cat ~/.ssh/known_hosts/{default,priv,work/*}(|2)(N) /dev/null)"}%%[# ]*}//,/ }
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
# source files
|
# source files
|
||||||
source "$ZDOTDIR"/files/aliases.zsh
|
source "$ZDOTDIR"/files/aliases.zsh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue