.zshrc: Use simpler GPG agent config
This commit is contained in:
8
.zshrc
8
.zshrc
@ -114,9 +114,11 @@ genpass() {
|
||||
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 15 ; echo
|
||||
}
|
||||
|
||||
# Activate GPG agent and cache the password after first use
|
||||
# See: https://github.com/axtl/gpg-agent.zsh
|
||||
source ~/src/git/dotfiles/gpg-agent.plugin.zsh
|
||||
# set GPG TTY
|
||||
export GPG_TTY=$(tty)
|
||||
#
|
||||
# Refresh gpg-agent tty in case user switches into an X Session
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
||||
export PATH
|
||||
export MANPATH
|
||||
|
Reference in New Issue
Block a user