From fbcd7fc3c6d2bdc73a5980af3ce680116266732e Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Fri, 14 Feb 2020 00:27:07 +0100 Subject: [PATCH] Update zshrc with GPG stuff --- zsh/.zshrc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index f1b365d..0b6d7a9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -92,10 +92,10 @@ zinit light junegunn/fzf zinit ice wait"0" zinit light molovo/tipz -if [ ! $is_wsl ]; then - zinit ice wait"0" - zinit light marzocchi/zsh-notify -fi +#if [ ! $is_wsl ]; then +# zinit ice wait"0" +# zinit light marzocchi/zsh-notify +#fi zstyle ':prezto:*:*' color 'yes' zinit snippet PZT::modules/helper/init.zsh @@ -111,8 +111,8 @@ zinit snippet PZT::modules/utility zinit ice svn zinit snippet PZT::modules/git -zinit snippet PZT::modules/ssh/init.zsh -zinit snippet PZT::modules/gpg/init.zsh +#zinit snippet PZT::modules/ssh/init.zsh +#zinit snippet PZT::modules/gpg/init.zsh zinit ice svn zinit snippet PZT::modules/ruby @@ -191,6 +191,11 @@ if [[ -d "$HOME/.poetry/bin" ]]; then #} fi +export GPG_TTY="$(tty)" +unset SSH_AGENT_PID +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent + # tmux helpers ts() { if [ $# -eq 0 ]; then -- 2.54.0