From a8dc0651f3101015494bf49809a4e6ffbeafdb9c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 4 Aug 2013 05:06:05 -0400 Subject: [PATCH] Add zsh completion --- zsh/completion | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/completion b/zsh/completion index 07922378..cab38b60 100644 --- a/zsh/completion +++ b/zsh/completion @@ -1,3 +1,5 @@ +autoload -Uz compinit && compinit + # Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards [ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh