diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-05 13:30:14 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-05 13:30:14 +1200 |
commit | 350fc5e6ed4d35638c6493e210dbe7a35b5fa099 (patch) | |
tree | ed398c66b9f9abe45d31b0845e7714d7c421c862 /sh/profile.d/keychain.sh | |
parent | Avoid using builtin names for promptt function arg (diff) | |
download | dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.tar.gz dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.zip |
More thorough quoting
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 08f1a4cc..a3659c60 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 - SSH_ASKPASS=$(which ssh-askpass) + SSH_ASKPASS="$(which ssh-askpass)" export SSH_ASKPASS fi # keychain setup if command -v keychain >/dev/null 2>&1; then - eval $(keychain --eval --ignore-missing --quiet id_dsa id_rsa id_ecsda) + eval "$(keychain --eval --ignore-missing --quiet id_dsa id_rsa id_ecsda)" fi |