commit: 85a97058b36894bc9575657cc6a9e5f5f99cea60
parent 5f5fbea5e2e99b2e226e0462d895a9f77881df3a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 27 Mar 2021 21:28:17 +0100
Move GPG_TTY from .profile to .common.sh
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.common.sh b/.common.sh
@@ -1,3 +1,6 @@
+#!/bin/sh
+# per-shell exports
+export GPG_TTY="$(tty)"
# Aliases
alias bash="SHELL=/bin/bash bash -l"
alias bc="bc ~/Sources/git/hacktivis.me/git/blog/notes/bc.txt"
diff --git a/.profile b/.profile
@@ -11,7 +11,6 @@ export ERL_AFLAGS="-kernel shell_history enabled"
unset GIT_ALTERNATE_OBJECT_DIRECTORIES
unset GIT_OBJECT_DIRECTORY
export GPGKEY='DDC9237C14CF6F4DD847F6B390D93ACCFEFF61AE'
-export GPG_TTY="$(tty)"
export GTK_CSD=0
export GTK_OVERLAY_SCROLLING=0
export HISTFILE="$HOME/.$(basename $SHELL)_history"