if status is-interactive fish_add_path .cargo/bin/ set -x GPG_TTY (tty) set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket) set -x EDITOR nvim set -x DOCKER_HOST unix://$XDG_RUNTIME_DIR/docker.sock gpgconf --launch gpg-agent gpg-connect-agent updatestartuptty /bye end