GPG_TTY
#5206
Replies: 1 comment
-
I'm not actually sure why the bash version does work, but in xonsh it would be |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to export the GPG_TTY in xonsh but am running into an issue where it's not being assigned a full tty as bash would.
.bashrc:
export GPG_TTY='tty'
In my environment this gets expanded to:
~ $ env | grep GPG
GPG_TTY=/dev/ttys000
The equivelant in xonsh:
.xonshrc
$GPG_TTY = 'tty'
env | grep GPG
GPG_TTY=tty
How can i modify my .xonshrc so it behaves as it would in bash?
Update: when I run source-bash it works fine. I would love how to get this working without having to source my .bashrc though.
Beta Was this translation helpful? Give feedback.
All reactions