diff --git a/fish/config.fish b/fish/config.fish index cd31b22..e3786c7 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -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