From: Alexander Barton Date: Sun, 1 May 2016 17:39:42 +0000 (+0200) Subject: Let keychain(1) inherit forwarded agents X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=HEAD;p=ConfigScripts.git Let keychain(1) inherit forwarded agents This is how the ax-zsh plugin handles it and makes sense :-) --- diff --git a/sys/bashrc b/sys/bashrc index 0c49948..190e1df 100644 --- a/sys/bashrc +++ b/sys/bashrc @@ -21,7 +21,7 @@ esac # Initialize keychain(1) ssh-agent and gpg-agent helper [ -e ~/.ConfigScripts.debug ] && echo " - keychain ..." type -t keychain >/dev/null \ - && eval `keychain --agents ssh --eval --quick --quiet` + && eval "`keychain --agents ssh --eval --inherit any-once --quick --quiet`" # Common command aliases (1/2) alias ".."="cd .."