diff --git a/playbooks/roles/shell/templates/zshrc.j2 b/playbooks/roles/shell/templates/zshrc.j2 index ca68581..2ff0bad 100644 --- a/playbooks/roles/shell/templates/zshrc.j2 +++ b/playbooks/roles/shell/templates/zshrc.j2 @@ -2,7 +2,7 @@ export ZSH=/home/mfocko/.oh-my-zsh CASE_SENSITIVE="true" ENABLE_CORRECTION="true" -plugins=(git common-aliases history systemd sudo zsh-autosuggestions zsh-syntax-highlighting) +plugins=(git common-aliases history systemd sudo zsh-autosuggestions zsh-syntax-highlighting fzf) export PATH="$PATH:$HOME/.local/bin" source $ZSH/oh-my-zsh.sh @@ -18,7 +18,11 @@ export CXXFLAGS="-std=c++14 -Wall -Werror" export LDLIBS="-lm" export LANG="en_US.UTF-8" -export GPG_TTY=$(tty) + +### gpg ### +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent alias q="exit" alias k="exit"