2013-08-04 02:06:05 -07:00
|
|
|
autoload -Uz compinit && compinit
|
|
|
|
|
2013-03-03 05:49:37 -08:00
|
|
|
# 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
|
2013-03-22 18:10:59 -07:00
|
|
|
|
|
|
|
# vim:set ft=zsh:
|