dotfiles/zshrc: add comment about GPG_TTY
This is only needed for pinentry-curses.
This commit is contained in:
parent
4d6353ed2a
commit
50bb7df89e
@ -97,7 +97,7 @@ genpass() {
|
|||||||
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 15 ; echo
|
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 15 ; echo
|
||||||
}
|
}
|
||||||
|
|
||||||
# set GPG TTY
|
# set GPG TTY for pinentry-curses
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
|
|
||||||
# Refresh gpg-agent tty in case user switches into an X Session
|
# Refresh gpg-agent tty in case user switches into an X Session
|
||||||
|
Loading…
Reference in New Issue
Block a user