Move gpg TTY update to zshrc.

This commit is contained in:
2016-03-13 15:33:26 +01:00
parent b4e6726ae2
commit b11183b716
2 changed files with 1 additions and 2 deletions

View File

@@ -40,7 +40,5 @@ fi
# Set GPG TTY # Set GPG TTY
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# exec startx breaks some logind fuckery, without exec it works # exec startx breaks some logind fuckery, without exec it works
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx

1
zsh/zsh/90_startup.sh Normal file
View File

@@ -0,0 +1 @@
gpg-connect-agent updatestartuptty /bye >/dev/null