Fix gpg env setup
This commit is contained in:
parent
b29400e519
commit
9115ab83d5
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ export PAGER="nvimpager -p"
|
|||
|
||||
# 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
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
gpgconf --launch gpg-agent
|
||||
|
||||
# tehfuk
|
||||
eval $(thefuck --alias)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue