diff options
author | David Runge <david.runge@frqrec.com> | 2014-04-27 15:52:16 +0200 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-04-27 15:52:16 +0200 |
commit | beaf1d3a3893e316460512b9d8a0dbcee6b17830 (patch) | |
tree | ddedfe0001555983d70ae943f1b302b6afdcbeb0 | |
parent | d06c78c23084888f0dfe07866038b8bccf31d8e1 (diff) | |
download | dotfiles-beaf1d3a3893e316460512b9d8a0dbcee6b17830.tar.gz dotfiles-beaf1d3a3893e316460512b9d8a0dbcee6b17830.tar.bz2 dotfiles-beaf1d3a3893e316460512b9d8a0dbcee6b17830.tar.xz dotfiles-beaf1d3a3893e316460512b9d8a0dbcee6b17830.zip |
Adding --nogui and --ignore-missing instead of using outer switch cases
-rw-r--r-- | .zsh.before/keychain.zsh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.zsh.before/keychain.zsh b/.zsh.before/keychain.zsh index b1b1330..5b05bcb 100644 --- a/.zsh.before/keychain.zsh +++ b/.zsh.before/keychain.zsh @@ -1,10 +1,3 @@ if [ -f /usr/bin/keychain ];then - case "$HOST" in - s4|s5|c*) - eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/id_rsa ) - ;; - *) - eval $(keychain --eval --agents gpg,ssh -Q --quiet ~/.ssh/id_rsa F5A1A949 ) - ;; - esac + eval $(keychain --eval --agents gpg,ssh -Q --quiet ~/.ssh/id_rsa F5A1A949 --ignore-missing --nogui ) fi |