diff options
author | David Runge <david.runge@frqrec.com> | 2014-04-11 16:09:18 +0200 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-04-11 16:09:18 +0200 |
commit | ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6 (patch) | |
tree | 05b5f3432164e8e4989ca6464e4236eddba1a6fa | |
parent | 5a176bbe128a265a0be81390f5109e5ed28d2a75 (diff) | |
download | dotfiles-ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6.tar.gz dotfiles-ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6.tar.bz2 dotfiles-ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6.tar.xz dotfiles-ac216fe9132a4ba0dc3ede549d6fc9fb1b98d6b6.zip |
Let keychain handle ssh and GPG keys, if it's installed.
-rw-r--r-- | .zsh.before/keychain.zsh | 4 | ||||
-rw-r--r-- | .zsh.before/keychain.zsh.off | 4 |
2 files changed, 4 insertions, 4 deletions
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 |