aboutsummaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index cc048f8..e5c3a7d 100644
--- a/.zshrc
+++ b/.zshrc
@@ -797,8 +797,8 @@ NO_verbose \
# GPG / SSH AGENT
-if [[ "KEYCHAIN" = "True" ]]; then
- keychain id_rsa
+if [ "xKEYCHAIN" != "x" ]; then
+ keychain KEYCHAIN
#keychain -Q ${GPGKEY} ${GPGKEY1}
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&