From f00b469e42748f6f9b04a5a02f110dc706bcbbe0 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 19 Aug 2014 09:27:13 -0700 Subject: [PATCH] Fix zshenv --- dotfiles/zshenv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotfiles/zshenv b/dotfiles/zshenv index 96b551e0..bc22e934 100644 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -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) \