Fish: deactivated GPG SSH agent

This commit is contained in:
Marcel Kapfer 2018-05-13 16:14:53 +02:00
parent f981fb15f3
commit 9075d41038
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -98,16 +98,16 @@ end
# end # end
# gpg-agent as SSH agent # gpg-agent as SSH agent
set -e SSH_AGENT_PID # set -e SSH_AGENT_PID
set -e SSH_AUTH_SOCK # set -e SSH_AUTH_SOCK
if test -z $gnupg_SSH_AUTH_SOCK_by # if test -z $gnupg_SSH_AUTH_SOCK_by
set gnupg_SSH_AUTH_SOCK_by 0 # set gnupg_SSH_AUTH_SOCK_by 0
end # end
if test $gnupg_SSH_AUTH_SOCK_by -ne %self # if test $gnupg_SSH_AUTH_SOCK_by -ne %self
set UID (id -u) # set UID (id -u)
set -Ux SSH_AUTH_SOCK "/run/user/$UID/gnupg/S.gpg-agent.ssh" # set -Ux SSH_AUTH_SOCK "/run/user/$UID/gnupg/S.gpg-agent.ssh"
end # end
gpg-connect-agent updatestartuptty /bye > /dev/null # gpg-connect-agent updatestartuptty /bye > /dev/null
# Source the Nix profile, if it exists. # Source the Nix profile, if it exists.
set -l NIX_PROFILE $HOME/.nix-profile/etc/profile.d/nix.fish set -l NIX_PROFILE $HOME/.nix-profile/etc/profile.d/nix.fish