forked from colonelpanic/dotfiles
Fix zshenv
This commit is contained in:
parent
043e327118
commit
f00b469e42
@ -1,4 +1,4 @@
|
||||
# ssh, scp, ping, host
|
||||
0;95;c# ssh, scp, ping, host
|
||||
zstyle ':completion:*:scp:*' tag-order \
|
||||
'hosts:-host hosts:-domain:domain hosts:-ipaddr:IP\ address *'
|
||||
zstyle ':completion:*:scp:*' group-order \
|
||||
@ -16,7 +16,6 @@ zstyle ':completion:*:(ssh|scp):*:hosts-ipaddr' ignored-patterns \
|
||||
'^<->.<->.<->.<->' '127.0.0.<->'
|
||||
zstyle ':completion:*:(ssh|scp):*:users' ignored-patterns \
|
||||
adm bin daemon halt lp named shutdown sync
|
||||
If you also want tab completion of the hosts listed in your ~/.ssh/known_hosts and /etc/hosts files, you can add:
|
||||
|
||||
zstyle -e ':completion:*:(ssh|scp):*' hosts 'reply=(
|
||||
${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) \
|
||||
|
Loading…
Reference in New Issue
Block a user