X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/9d4b628328aa275e7631465e4e548d921df75f4f..1b94e7ee3040fa3957a3555a2aa30a8af0392c00:/.zsh/zshrc/parts.d/50_ssh 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