.bashrc 276 B

1234567891011
  1. # don't store duplicate entries in the history
  2. export HISTCONTROL=erasedups
  3. # use a simple prompt of host:pwd# (user is always root)
  4. PS1='\h:\w\$ '
  5. # set the terminal title to host:pwd
  6. case $TERM in
  7. xterm*)
  8. PROMPT_COMMAND='echo -ne "\033]0;${HOSTNAME}:${PWD}\007"'
  9. ;;
  10. esac