]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-skel-.bash_profile
- release 2
[packages/bash.git] / bash-skel-.bash_profile
index 3b81e7509d0018899532603400646bac32e806af..9d98d0fdbb944c6ecba9223c88a4f06e5f2cea60 100644 (file)
@@ -1,20 +1,24 @@
 # .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
 
 export HISTSIZE=1000
 export HISTFILESIZE=1000
 export TMP=~/tmp
-export TMPDIR="$TMP"
+export TMPDIR=$TMP
 
 # setup LOCALE variables
 #export LANG=
 #export LC_ALL=
+#export LANGUAGE=
+#export TZ=
 
-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.11687 seconds and 4 git commands to generate.