Initial commit
This commit is contained in:
8
conf.d/gpg-agent.fish
Normal file
8
conf.d/gpg-agent.fish
Normal file
@@ -0,0 +1,8 @@
|
||||
# Gnome Keyring can (and will) mess up SSH_AUTH_SOCK, but we can’t simply overwrite it, because auth forwarding mangles
|
||||
# it, too
|
||||
if not set -q SSH_AUTH_SOCK or string match -q "$HOME/.cache/keyring-*/ssh" $SSH_AUTH_SOCK
|
||||
set -gx SSH_AUTH_SOCK $XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
end
|
||||
|
||||
set -gx GPG_TTY (tty)
|
||||
#gpg-connect-agent updatestartuptty /bye > /dev/null
|
Reference in New Issue
Block a user