9 lines
		
	
	
		
			368 B
		
	
	
	
		
			Fish
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			368 B
		
	
	
	
		
			Fish
		
	
	
	
	
	
# 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
 |