A few small but useful additions from a newly set up env
[~bandali/configs] / .profile
index cebb4cf..67c643f 100644 (file)
--- a/.profile
+++ b/.profile
@@ -1,6 +1,12 @@
 # ~/.profile: executed by the command interpreter for login shells.
 # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
 # exists.
+# see /usr/share/doc/bash/examples/startup-files for examples.
+# the files are located in the bash-doc package.
+
+# the default umask is set in /etc/profile; for setting the umask
+# for ssh logins, install and configure the libpam-umask package.
+#umask 022
 
 # source host-specific profile
 if [ -f "$HOME/.config/profiles/$(hostname)" ]; then
@@ -9,6 +15,7 @@ fi
 
 export EDITOR="emacsclient -nw"
 export VISUAL="emcl"
+export GPG_TTY=$(tty)
 
 PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
 if [ -z "$IS_GUIX_SYSTEM" ]; then