From ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 11 Apr 2014 16:09:18 +0200 Subject: Let keychain handle ssh and GPG keys, if it's installed. --- .zsh.before/keychain.zsh | 4 ++++ .zsh.before/keychain.zsh.off | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .zsh.before/keychain.zsh delete mode 100644 .zsh.before/keychain.zsh.off diff --git a/.zsh.before/keychain.zsh b/.zsh.before/keychain.zsh new file mode 100644 index 0000000..b73daff --- /dev/null +++ b/.zsh.before/keychain.zsh @@ -0,0 +1,4 @@ +if [ -f /usr/bin/keychain ] +then + eval $(keychain --eval --agents gpg,ssh -Q --quiet ~/.ssh/id_rsa F5A1A949 ) +fi diff --git a/.zsh.before/keychain.zsh.off b/.zsh.before/keychain.zsh.off deleted file mode 100644 index 372a5bb..0000000 --- a/.zsh.before/keychain.zsh.off +++ /dev/null @@ -1,4 +0,0 @@ -if [ -f /usr/bin/keychain ] -then - eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa.*) -fi -- cgit v1.2.3-70-g09d2