Fix gpg.zsh
This commit is contained in:
parent
323ccd7a51
commit
62163e2e17
|
@ -1,4 +1,4 @@
|
||||||
if [[ $(lsb_release -si) =~ "^Debian|Ubuntu$" ]]; then
|
if [[ ! $(lsb_release -si) =~ "^Debian|Ubuntu$" ]]; then
|
||||||
export GPG_TTY="$TTY"
|
export GPG_TTY="$TTY"
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
|
|
Loading…
Reference in a new issue