.s/scripts/machine-specific-zsh/totoro.zsh
2024-11-03 13:28:13 -08:00

9 lines
239 B
Bash

unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
eval "$(zoxide init zsh)"