Fix gpg.zsh

This commit is contained in:
Sam A. 2022-09-19 23:18:11 +02:00
parent 323ccd7a51
commit 62163e2e17
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
if [[ $(lsb_release -si) =~ "^Debian|Ubuntu$" ]]; then
if [[ ! $(lsb_release -si) =~ "^Debian|Ubuntu$" ]]; then
export GPG_TTY="$TTY"
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
gpgconf --launch gpg-agent