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

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