aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:27:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:27:39 +1300
commite5a7dff421b7e48e6629f4e89fe1db08bdc4699c (patch)
tree8a3b618ba4565a9ffd8f8eebeaa20f902eefd16c /sh
parentExplicitly check extension of .d files (diff)
downloaddotfiles-e5a7dff421b7e48e6629f4e89fe1db08bdc4699c.tar.gz
dotfiles-e5a7dff421b7e48e6629f4e89fe1db08bdc4699c.zip
Not sure why I ever set TTY
Diffstat (limited to 'sh')
-rw-r--r--sh/profile.d/keychain.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/sh/profile.d/keychain.sh b/sh/profile.d/keychain.sh
index ae7aa95a..e4733aff 100644
--- a/sh/profile.d/keychain.sh
+++ b/sh/profile.d/keychain.sh
@@ -11,9 +11,8 @@ if command -v keychain >/dev/null 2>&1; then
# Set and export TTY/GPG_TTY for interactive shells
if [ -t 0 ]; then
- TTY=$(tty)
- GPG_TTY=$TTY
- export TTY GPG_TTY
+ GPG_TTY=$(tty)
+ export GPG_TTY
fi
fi