diff --git a/bash/bashrc b/bash/bashrc index b66a0ec..5b8f01e 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -10,13 +10,13 @@ fi # Prompt #=============================================================================== if [[ ${EUID} == 0 ]] ; then - export PS1="\t \u@\h:\w \$" - else - mp_time="\[\$(tput setaf 6)\][ \t ]" - mp_who="\[\$(tput setaf 2)\]\u\[\$(tput setaf 7)\]@\\[\$(tput setaf 2)\]\h" - mp_whr="\[\$(tput setaf 7)\]:\[\$(tput setaf 5)\]\w" - mp_git="\[\$(tput sgr0)\]\[\$(show_git_info)\] " - export PS1="$mp_time $mp_who$mp_whr$mp_git\n\$ " + export PS1="\t \u@\h:\w \$" +else + mp_time="\[\$(tput setaf 6)\][ \t ]" + mp_who="\[\$(tput setaf 2)\]\u\[\$(tput setaf 7)\]@\\[\$(tput setaf 2)\]\h" + mp_whr="\[\$(tput setaf 7)\]:\[\$(tput setaf 5)\]\w" + mp_git="\[\$(tput sgr0)\]\[\$(show_git_info)\] " + export PS1="$mp_time $mp_who$mp_whr$mp_git\n\$ " fi #=============================================================================== # Aliases