X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=plugins%2Fssh_secure%2Fssh_secure.zshrc;h=bf5d5237937ffa129b2cc90a2062c4fcc945d03e;hb=5f9db895f246ca1e6f3a7e48f2a9f5cbe031e46d;hp=5554ae1634063eef3b8848fd600d724f9d42dfe7;hpb=905eb2fc69930c181a7297dff886fd81b173c082;p=ax-zsh.git diff --git a/plugins/ssh_secure/ssh_secure.zshrc b/plugins/ssh_secure/ssh_secure.zshrc index 5554ae1..bf5d523 100644 --- a/plugins/ssh_secure/ssh_secure.zshrc +++ b/plugins/ssh_secure/ssh_secure.zshrc @@ -8,6 +8,8 @@ [[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92 # Enforce "strict host key checking" -#alias ssh="\ssh -o 'StrictHostKeyChecking yes'" -alias sshnew="\ssh -o 'StrictHostKeyChecking no'" -alias sshtmp="\ssh -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null'" +alias sshnew='ssh -o "StrictHostKeyChecking no"' +alias sshtmp='ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null"' + +compdef sshnew=ssh +compdef sshtmp=ssh