Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created August 8, 2018 03:23
Show Gist options
  • Save cleverca22/ed3324b2fd24735a1061f4fb612d7cbf to your computer and use it in GitHub Desktop.
Save cleverca22/ed3324b2fd24735a1061f4fb612d7cbf to your computer and use it in GitHub Desktop.
[clever@amd-nixos:~]$ cat .xsession
gpg-connect-agent /bye
GPG_TTY=$(tty)
export GPG_TTY
unset SSH_AGENT_PID
export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment