use envvar instead of sub shell

This commit is contained in:
Daylin Morgan 2024-02-29 12:02:42 -06:00
parent b5730de862
commit 372465e71c
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,4 +1,4 @@
#!/usr/bin/env zsh
export GPG_TTY=$(tty)
export GPG_TTY="$TTY"
gpgconf --launch gpg-agent