summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-10-01 16:51:57 +0200
committerAlejandro Colomar <alx@kernel.org>2023-10-01 16:52:46 +0200
commitd0bdfd3d31ebfa92ce46f19969652dfb584f6b8a (patch)
treeda8583d63c4d37cf774b1462ec848fa4090dc35a
parent16ee4ac6d941d18fa3849d764c75696618fe32e4 (diff)
bash: gpg: Use pinentry-tty
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--home/.bash_aliases.d/gpg.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/.bash_aliases.d/gpg.sh b/home/.bash_aliases.d/gpg.sh
new file mode 100644
index 0000000..27fe0ee
--- /dev/null
+++ b/home/.bash_aliases.d/gpg.sh
@@ -0,0 +1,2 @@
+GPG_TTY=$(tty);
+export GPG_TTY;