git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-03-19 19:27:36 +0100
committermail_redacted_for_web 2022-03-19 19:27:36 +0100
commit53b55b4b10ef6344a882402d5dcaf11d87b78d3f (patch)
treea4c8f2248fe0ef17d2c7cd98a62adfc5f0a2a7ca /.profile
downloaddotfiles-53b55b4b10ef6344a882402d5dcaf11d87b78d3f.tar.bz2
Initial commit
Diffstat (limited to '.profile')
-rw-r--r--.profile13
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