aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
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 /bash/bashrc.d
parentExplicitly check extension of .d files (diff)
downloaddotfiles-e5a7dff421b7e48e6629f4e89fe1db08bdc4699c.tar.gz
dotfiles-e5a7dff421b7e48e6629f4e89fe1db08bdc4699c.zip
Not sure why I ever set TTY
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/keychain.bash5
1 files changed, 2 insertions, 3 deletions
diff --git a/bash/bashrc.d/keychain.bash b/bash/bashrc.d/keychain.bash
index cae44983..92b3e020 100644
--- a/bash/bashrc.d/keychain.bash
+++ b/bash/bashrc.d/keychain.bash
@@ -1,6 +1,5 @@
# If TTY/GPG_TTY are set, update them
-if [[ $TTY || $GPG_TTY ]]; then
- TTY=$(tty)
- GPG_TTY=$TTY
+if [[ $GPG_TTY ]]; then
+ GPG_TTY=$(tty)
fi