1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # ssh_autoadd.zshrc: Make sure that SSH keys are available
4 # Make sure that "ssh(1)" is installed.
5 (( $+commands[ssh] )) || return 1
7 # This plugin is optional.
8 [[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92
10 # Make sure that an SSH agent is available (but ignore failure):
11 [[ -n "$SSH_AUTH_SOCK" ]] || return 0
13 # Call the ax-zsh "ssh-autoadd" function.
14 [[ -t 1 ]] && ssh-autoadd -v