GPG on WSL not working
Closed this issue · 0 comments
pascal-zarrad commented
Describe the bug
Due to an unescaped $(tty) in the plugin, the value written to the zshrc is the path of tty
(for example: /dev/tty1
instead of $(tty)
.
To Reproduce
Steps to reproduce the behavior:
- Run psh on WSL
- Restart WSL / Install same zshrc on different machine
- Take a look at the zshrc. It should show the behaviour described in the description.
Expected behavior
The line written in the .zshrc
by the wsl-gpg plugin equals export GPG_TTY=$(tty)
.