mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
Fix gpg env setup
This commit is contained in:
parent
03eb9ab6e7
commit
d178b3bb8b
@ -36,8 +36,8 @@ export PAGER="nvimpager -p"
|
|||||||
|
|
||||||
# use gpg for ssh
|
# use gpg for ssh
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpg-connect-agent updatestartuptty /bye > /dev/null
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
# tehfuk
|
# tehfuk
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
Loading…
Reference in New Issue
Block a user