3 # System wide environment and startup programs, for login setup
4 # Functions and aliases go in /etc/bashrc
7 if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
8 if [ "$2" = "after" ] ; then
17 if [ `id -u` = 0 ]; then
20 pathmunge /usr/local/sbin
23 pathmunge /usr/X11R6/bin after
27 # No core files by default
28 ulimit -S -c 0 > /dev/null 2>&1
32 MAIL="/var/spool/mail/$USER"
34 HOSTNAME=`/bin/hostname`
37 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
41 export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
43 for i in /etc/profile.d/*.sh ; do