Changed files:
bashrc -> 1.13
# System wide functions and aliases
# Environment stuff goes in /etc/profile
-# For some unknown reason bash refuses to inherit
-# PS1 in some circumstances that I can't figure out.
-# Putting PS1 here ensures that it gets loaded every time.
-#PS1="[\u@\h \W]\\$ "
+# If shell is run in environment without set PS1
+if [ ! "$PS1" ]; then
+ case $TERM in
+ gnome|xterm*|rxvt)
+ PS1="\[\033]0;\u@\h: \w\007\][\u@\h \W]\\$ "
+ ;;
+ *)
+ PS1="[\u@\h \W]\\$ "
+ ;;
+ esac
+fi
alias which="type -p"