update armin gpg
This commit is contained in:
parent
2ac854a7ea
commit
e0cd611262
@ -15,3 +15,8 @@ Host gul4
|
|||||||
|
|
||||||
Host rainsllamas
|
Host rainsllamas
|
||||||
Hostname 129.123.107.108
|
Hostname 129.123.107.108
|
||||||
|
|
||||||
|
Host wwwintmmt
|
||||||
|
Hostname www.int.mistymountainstherapy.com
|
||||||
|
ForwardAgent yes
|
||||||
|
User root
|
||||||
|
@ -24,9 +24,16 @@ source /Users/lizzy/.wasmer/wasmer.sh
|
|||||||
|
|
||||||
eval "$(zoxide init --cmd z zsh)"
|
eval "$(zoxide init --cmd z zsh)"
|
||||||
|
|
||||||
unset SSH_AGENT_PID
|
# 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
|
||||||
|
source ~/.gnupg/.gpg-agent-info
|
||||||
|
export GPG_AGENT_INFO
|
||||||
|
else
|
||||||
|
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
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)
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
|
||||||
|
Loading…
Reference in New Issue
Block a user