aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-02-06 11:58:39 -0500
committerRyan Kavanagh <rak@debian.org>2017-02-06 11:58:39 -0500
commit5e93f0e6325e0efd42550e5fe3c31a7bffff8fd1 (patch)
tree490c86d448cc481ef9520abcb79c1c5e60595a45 /.zshrc
parentAllow substitutions of strings containing spaces (diff)
Allow loading multiple key names in keychain
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 ] &&