diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc index a08716f..1f7cad8 100644 --- a/bash/bashrc/rbashrc +++ b/bash/bashrc/rbashrc @@ -68,7 +68,8 @@ if ! shopt -oq posix; then fi fi -if [ -x "/usr/bin/gpg-agent" ]; then +which gpg-agent 2>&1 > /dev/null +if [ $? -eq 0 ]; then GPG_ENV="$HOME/.gnupg/environment" function __start_agent {