1 --- etc/profile 2010-01-24 09:37:51.000000000 +0000
2 +++ etc/profile 2010-01-24 09:54:47.000000000 +0000
5 # Allow terminal messages
8 +# Title for titleable terminals
10 +xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix)
11 + title="\[\033]0;\h(\u)\007\]"
14 + title="\[\033_\h(\u)\033\\\]"
21 +# Set the flag variable, if we can
22 +[ -x "$(which flag)" -a ! -f "${HOME}/.noflag" ] && export FLAG="($($(which flag) -e))"
23 +export PS1="${title}${FLAG}${PS1}"
25 +# Set up input handling and environment
26 +[ -f /etc/inputrc ] && export INPUTRC=/etc/inputrc
27 +[ -f "${HOME}/.inputrc" ] && export INPUTRC="${HOME}/.inputrc"
29 +[ -f "${HOME}/.shrc" ] && . "${HOME}/.shrc"
36 +if [ "$(id -u)" -eq 0 ] || (id -nG | egrep -q "(^wheel *|* wheel *|* wheel$)")
38 + export PATH=${HOME}/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
40 + export PATH=${HOME}/bin:/bin:/usr/bin:/usr/games:/usr/local/bin
46 + if [ -f "${HOME}/.bashrc" ]
48 + export ENV="${HOME}/.bashrc"
50 + elif [ -f "/etc/bashrc" ]
52 + export ENV="/etc/bashrc"
56 + if [ -f "${HOME}/.shrc" ]
58 + export ENV="${HOME}/.shrc"