X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/9d4b628328aa275e7631465e4e548d921df75f4f..642cfc796043ea4965a61ed9b45b07c179888012:/.zsh/zshrc/parts.d/50_ssh?ds=inline diff --git a/.zsh/zshrc/parts.d/50_ssh b/.zsh/zshrc/parts.d/50_ssh index 8daa9df..d849b39 100644 --- a/.zsh/zshrc/parts.d/50_ssh +++ b/.zsh/zshrc/parts.d/50_ssh @@ -11,7 +11,7 @@ # populate hosts completion with SSH's known_hosts if [ -r $HOME/.ssh/known_hosts ]; then local _myhosts - _myhosts=(${${${${(f)"$(cat $HOME/.ssh/known_hosts.d/*(.N))"}:#[0-9]*}%%\ *}%%,*}) + _myhosts=(${${${${(f)"$(cat $HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*}) zstyle ':completion:*' hosts $_myhosts unset _myhosts fi