commit ad7b326c2fbee8e09bab7faa2eb7b7d021db7a5f
parent 5282a1e7013f019b1940876696a49fcb43ef927b
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 2 Aug 2019 22:24:30 +0100
moved export of GPG_TTY up so it is used
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/zsh/.zsh/keychain.zsh b/zsh/.zsh/keychain.zsh
@@ -3,8 +3,9 @@
# ssh key dir
SSH_KEY_DIR="$HOME/.ssh"
+GPG_TTY=$(tty)
+export GPG_TTY
+
# funtoo keychain
eval $(keychain -q --agents ssh,gpg --nogui --eval $SSH_KEY_DIR/*.prv 0xC7877C715113A16D)
-GPG_TTY=$(tty)
-export GPG_TTY