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
1 changed files with 10 additions and 10 deletions

View File

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