Fixed yubikey forwarding

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-10-27 11:34:23 +02:00
parent c888ff3eb8
commit 5a5e80c5f5
2 changed files with 2 additions and 6 deletions

View file

@ -25,10 +25,12 @@ export DOTREPO="$HOME/Git/dotfiles"
export EDITOR=nvim
export PAGER="nvimpager -p"
{%@@ if profile == "Mirkwood" @@%}
# use gpg for ssh
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
gpg-connect-agent updatestartuptty /bye > /dev/null
{%@@ endif @@%}
# tehfuk
eval $(thefuck --alias)