diff --git a/runcoms/zshrc b/runcoms/zshrc index dbe7a68..47da50a 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -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 };