1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # gnupg.zshrc: Setup GnuPG
4 if (( $+commands[gpg2] )); then
5 # Use the gpg completions for gpg2, too
8 if ! (( $+commands[gpg])); then
9 # gpg2 is available, but no gpg: alias it!
13 # Make sure that "gpg(1)" is available.
14 (( $+commands[gpg] )) || return 1
19 if (( $+commands[gpg-connect-agent] )); then
20 # Try to start/connect the agent ...
21 ( gpg-connect-agent /bye >/dev/null 2>&1 )