if ${use_color} ; then
if [[ ${EUID} == 0 ]] ; then
- PS1+='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
+ PS1+='\[\033[01;31m\]\h\[\033[01;34m\] \w \$\[\033[00m\] '
else
PS1+='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
alias egrep='egrep --colour=auto'
alias fgrep='fgrep --colour=auto'
else
- if [[ ${EUID} == 0 ]] ; then
- # show root@ when we don't have colors
- PS1+='\u@\h \W \$ '
- else
- PS1+='\u@\h \w \$ '
- fi
+ # show root@ when we don't have colors
+ PS1+='\u@\h \w \$ '
fi
for sh in /etc/bash/bashrc.d/* ; do