diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index 690fe71..c9e5e87 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -50,11 +50,11 @@ alias lss='exa -a' alias xrm='sudo xbps-remove' # GPG setup (and SSH) -if command -v keychain; then +if command -v keychain >/dev/null; then alias keychain='keychain --dir "$XDG_RUNTIME_DIR" --absolute' eval `keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C` fi -if command -v gpgconf; then +if command -v gpgconf >/dev/null; then SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK fi