]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-skel-.bash_profile
use distfiles for bash patches
[packages/bash.git] / bash-skel-.bash_profile
index ef6869647892a9b04d59c383b006db2a82094510..0f4d16909971c8bde5bba2e8953ababbddd0871c 100644 (file)
@@ -1,12 +1,23 @@
 # .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
 
-HISTSIZE=1000
-HISTFILESIZE=1000
+export HISTSIZE=1000
+export HISTFILESIZE=1000
+export HISTCONTROL=ignoredups
 
-export HISTSIZE HISTFILESIZE
+# setup LOCALE variables
+#export LANG=
+#export LC_ALL=
+#export LANGUAGE=
+#export TZ=
 
-mesg n
+# only You can access your files
+#umask 077
+
+# turn off accept of 'wall' and 'write':
+#[ ! -x /usr/bin/mesg ] || mesg n
This page took 0.103723 seconds and 4 git commands to generate.