Have ssh use GPG

This commit is contained in:
Ceres 2025-11-08 18:55:28 +00:00
parent d2a7d940ec
commit 013350807b
Signed by: ceres-sees-all
GPG key ID: 9814758436430045

View file

@ -1,4 +1,13 @@
if status is-interactive
set -e SSH_AUTH_SOCK
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
set -x GPG_TTY (tty)
gpgconf --launch gpg-agent
set -gx EDITOR /usr/bin/hx
# Starship custom prompt
starship init fish | source
@ -40,5 +49,3 @@ if status is-interactive
echo -en "\e]133;A\e\\"
end
end
set -gx EDITOR /usr/bin/hx