From 2736d11dd320b64c9cdd77bcaecd15756b73d89d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 16 Oct 2013 17:44:20 +1300 Subject: Move TTY/GPG_TTY exports into profile --- bash/bashrc.d/keychain.bash | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bash/bashrc.d/keychain.bash (limited to 'bash/bashrc.d/keychain.bash') diff --git a/bash/bashrc.d/keychain.bash b/bash/bashrc.d/keychain.bash new file mode 100644 index 00000000..2cb1093a --- /dev/null +++ b/bash/bashrc.d/keychain.bash @@ -0,0 +1,6 @@ +# If TTY/GPG_TTY are set, update them +if [[ -n $TTY || -n $GPG_TTY ]]; then + TTY=$(tty) + GPG_TTY=$TTY +fi + -- cgit v1.2.3