aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-05 13:30:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-05 13:30:14 +1200
commit350fc5e6ed4d35638c6493e210dbe7a35b5fa099 (patch)
treeed398c66b9f9abe45d31b0845e7714d7c421c862 /sh/profile.d
parentAvoid using builtin names for promptt function arg (diff)
downloaddotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.tar.gz
dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.zip
More thorough quoting
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/keychain.sh4
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