unset gpg-agent sock

This commit is contained in:
Kabbone 2022-12-23 15:49:23 +01:00
parent 18ed0c44c8
commit 872efe6618
Signed by: Kabbone
SSH Key Fingerprint: SHA256:ezolxoMIF3LNo1yc1aGNCvFNUiSZNjUbNhrZohFeKd0

View File

@ -27,10 +27,10 @@
'';
initExtra = '' # Zsh theme
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
unset SSH_AGENT_PID
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
#export GPG_TTY=$(tty)
#gpg-connect-agent updatestartuptty /bye >/dev/null
#unset SSH_AGENT_PID
#export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
# Spaceship
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
autoload -U promptinit; promptinit