Fish: deactivated GPG SSH agent
This commit is contained in:
parent
f981fb15f3
commit
9075d41038
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue