# AX-ZSH: Alex' Modular ZSH Configuration # gnupg.zshrc: Setup GnuPG if (( $+commands[gpg2] )); then # Use the gpg completions for gpg2, too compdef gpg2=gpg if ! (( $+commands[gpg])); then # gpg2 is available, but no gpg: alias it! alias "gpg"="gpg2" fi fi