From 53b55b4b10ef6344a882402d5dcaf11d87b78d3f Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 19 Mar 2022 19:27:36 +0100 Subject: Initial commit --- .profile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .profile (limited to '.profile') diff --git a/.profile b/.profile new file mode 100644 index 0000000..e96906d --- /dev/null +++ b/.profile @@ -0,0 +1,13 @@ +# Expectation: .bash_profile exists then this file isn't read at all. +# Reality: well... .profile not being looked at at all _can_ happen. + +# Set umask to something world-unreadable in any case +umask 027 + +# include .bash_profile - if we arrived here at all, it's important to do :-) +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bash_profile" ]; then + . "$HOME/.bash_profile" + fi +fi -- cgit v1.2.3