Browse Source

chore: fix gpg ssh agent

master
xenua 3 years ago
parent
commit
e70bba5e5d
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 3
      runcoms/zshrc

3
runcoms/zshrc

@ -11,6 +11,9 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then @@ -11,6 +11,9 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
fi
# Customize to your needs...
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
gpg-connect-agent updatestartuptty /bye > /dev/null
function mkcd() { mkdir $1 && cd $1 };

Loading…
Cancel
Save