]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/ssh_secure/ssh_secure.zshrc
ssh_macos: Don't error out when no SSH agent is available
[ax-zsh.git] / plugins / ssh_secure / ssh_secure.zshrc
index e0c9b34b3c7006c1046d5c381d4789b3fef754d3..5554ae1634063eef3b8848fd600d724f9d42dfe7 100644 (file)
@@ -4,6 +4,9 @@
 # Make sure that "ssh(1)" is installed
 (( $+commands[ssh] )) || return
 
+# This plugin is optional.
+[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92
+
 # Enforce "strict host key checking"
 #alias ssh="\ssh -o 'StrictHostKeyChecking yes'"
 alias sshnew="\ssh -o 'StrictHostKeyChecking no'"