]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-skel-.bash_profile
- up to 4.0.33
[packages/bash.git] / bash-skel-.bash_profile
index 3b81e7509d0018899532603400646bac32e806af..a010ccb7ee78ae066533faff2f0e9b373881fa9a 100644 (file)
@@ -1,6 +1,8 @@
 # .bash_profile - file executed when logging in
 
-if [ -f ~/.bashrc ]; then
+# execute local (and so system wide) rc file only when interactive (not from scp etc.)
+# bash is too dumb to do in on it's own when started as login shell
+if [[ $- = *i* ]] && [ -f ~/.bashrc ]; then
        . ~/.bashrc
 fi
 
@@ -12,9 +14,10 @@ export TMPDIR="$TMP"
 # setup LOCALE variables
 #export LANG=
 #export LC_ALL=
+#export LANGUAGE=
 
-umask 077
+# only You can access your files
+#umask 077
 
-if [ -x /usr/bin/mesg ]; then
-       mesg n
-fi
+# turn off accept of 'wall' and 'write':
+#[ ! -x /usr/bin/mesg ] || mesg n
This page took 0.142128 seconds and 4 git commands to generate.