Skip to content

Commit

Permalink
zsh: cleanup gpg env
Browse files Browse the repository at this point in the history
  • Loading branch information
chadsr committed Apr 16, 2024
1 parent 92c46a6 commit 987b6b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ export BEMENU_OPTS="-n -m -1 --nb #000b1ecc --tb #000b1ecc --tf #ea00d9ff --nf #
############
# GPG #
############
export GNUPGHOME="$HOME/.gnupg"
export GPG_TTY="${TTY:-"$(tty)"}"
gpg-connect-agent updatestartuptty /bye >/dev/null
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK
export GPG_TTY=${TTY:-"$(tty)"}

if [[ -z ${WAYLAND_DISPLAY+x} ]]; then
# Not got a display
Expand Down

0 comments on commit 987b6b4

Please sign in to comment.