This commit is contained in:
Elizabeth Hunt 2024-05-27 13:59:28 -07:00
parent 902bcea33c
commit 1d9f9d17c5
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE

View File

@ -24,8 +24,6 @@ source /Users/lizzy/.wasmer/wasmer.sh
eval "$(zoxide init --cmd z zsh)" eval "$(zoxide init --cmd z zsh)"
# Add the following to your shell init to set up gpg-agent automatically for every shell
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO export GPG_AGENT_INFO
@ -37,3 +35,5 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
. "$HOME/.cargo/env"