# System-wide .bashrc file for interactive bash(1) shells. # If running interactively, then: if [ "$PS1" ]; then # set a fancy prompt (overwrite the one in /etc/profile) PS1='\u@\h:\w\$ ' ROTH="\[\033[1;31m\]" ROT="\[\033[0;31m\]" GRUEN="\[\033[0;32m\]" BLAU="\[\033[0;34m\]" NOCOLOR="\[\033[0m\]" [ "$UID" == "0" ] && USRCLR="$ROT\\u$NOCOLOR" || USRCLR="\\u" PS1="$BLAU\$(date +%H:%M,%S)h$ROT@$BLAU\h $ROTH\j:\!:\# ${BLAU}[$GRUEN$USRCLR$ROT@$ROTH${debian_chroot:+($debian_chroot)}$GRUEN\w${BLAU}]\n$NOCOLOR# " # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # enable bash completion in interactive shells if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi # source some aliases if [ -f /etc/bash.aliases ]; then . /etc/bash.aliases fi fi