]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/gpg.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 14 Jan 2018 07:14:22 +0000 (07:14 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sun, 14 Jan 2018 07:14:22 +0000 (07:14 +0000)
etc/profile.d/gpg.sh [new file with mode: 0644]

diff --git a/etc/profile.d/gpg.sh b/etc/profile.d/gpg.sh
new file mode 100644 (file)
index 0000000..495b648
--- /dev/null
@@ -0,0 +1,2 @@
+which gpg >/dev/null 2>&1 || return
+export GPG_TTY=$(tty)