diff options
Diffstat (limited to 'dot_zshrc.tmpl')
| -rw-r--r-- | dot_zshrc.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 7ca280e..489b539 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -47,6 +47,12 @@ alias ls='eza --icons=always' {{ if eq .chezmoi.hostname "gentoo" }} +unset SSH_AGENT_PID +export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +export GPG_TTY="$(tty)" +gpgconf --launch gpg-agent +gpg-connect-agent updatestartuptty /bye >/dev/null + eval "$(mise activate zsh)" [[ -r ~/.config/secrets/openrouter.env ]] && source ~/.config/secrets/openrouter.env |
