This commit is contained in:
Matt Hamilton 2018-09-18 02:29:09 +00:00 committed by GitHub
commit 4f9f55d143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -92,3 +92,7 @@ zstyle ':completion:*:history-words' menu yes
# ignore multiple entries.
zstyle ':completion:*:(rm|kill|diff):*' ignore-line other
zstyle ':completion:*:rm:*' file-patterns '*:all-files'
# fix ssh not completing with hosts from ~/.ssh/config
zstyle -e ':completion:*:*:ssh:*:my-accounts' users-hosts \
'[[ -f ~/.ssh/config && $key = hosts ]] && key=my_hosts reply=()'