diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-18 10:51:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-18 10:51:01 +1200 |
commit | f096d0e23c15efbe3baefd6029f9f56255e87f08 (patch) | |
tree | 20d0d0d74432806e29e24ed5daadd3c84647bdb4 /sh/profile.d/keychain.sh | |
parent | Sort the output of env(1) if no arguments (diff) | |
download | dotfiles-f096d0e23c15efbe3baefd6029f9f56255e87f08.tar.gz dotfiles-f096d0e23c15efbe3baefd6029f9f56255e87f08.zip |
Fix up some command builtin calls
Diffstat (limited to 'sh/profile.d/keychain.sh')
-rw-r--r-- | sh/profile.d/keychain.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh index 55306ad4..a9725bec 100644 --- a/sh/profile.d/keychain.sh +++ b/sh/profile.d/keychain.sh @@ -1,11 +1,11 @@ # ssh-askpass setup -if command -v ssh-askpass >/dev/null 2>&1 ; then +if command -v ssh-askpass >/dev/null ; then SSH_ASKPASS=$(command -v ssh-askpass) export SSH_ASKPASS fi # keychain setup -if command -v keychain >/dev/null 2>&1 ; then +if command -v keychain >/dev/null ; then eval "$(TERM=${TERM:-ansi} keychain \ --eval --ignore-missing --quiet id_dsa id_rsa id_ecsda)" |