diff options
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |