Newest version of dotfiles with Ghostty, Fish, kickstart vim and zsh updates
This commit is contained in:
10
.config/fish/conf.d/ssh-gpg.fish
Normal file
10
.config/fish/conf.d/ssh-gpg.fish
Normal file
@@ -0,0 +1,10 @@
|
||||
# SSH/GPG setup
|
||||
set -gx GPG_TTY (tty)
|
||||
set -gx SSH_AUTH_SOCK ~/.gnupg/S.gpg-agent.ssh
|
||||
|
||||
# Launch GPG agent
|
||||
gpgconf --launch gpg-agent
|
||||
|
||||
if test "$gnupg_SSH_AUTH_SOCK_by" != "$fish_pid"
|
||||
set -gx SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
|
||||
end
|
||||
Reference in New Issue
Block a user