.bashrc
changeset 828 235bf6715fc6
parent 811 b41cb471a3d0
child 834 31202b672717
equal deleted inserted replaced
827:4bd348e3422d 828:235bf6715fc6
    11 
    11 
    12 PS1='\n==============================================================================\r$?|\u@\h \w \nbash# '
    12 PS1='\n==============================================================================\r$?|\u@\h \w \nbash# '
    13 PS2='> '
    13 PS2='> '
    14 case "$TERM" in
    14 case "$TERM" in
    15   xterm*|eterm-color|screen|linux)
    15   xterm*|eterm-color|screen|linux)
    16     PS1='\n\033[36m==============================================================================\r$?|\033[31m\u\033[35m@\h\033[0m\033[36m \w \n\[\033[1m\033[31m\]bash#\[\033[0m\] '
    16     PS1=$'\n\e[36m==============================================================================\r$?|\e[31m\u\e[35m@\h\e[0m\e[36m \w \n\[\e[1m\e[31m\]bash#\[\e[0m\] '
    17     PS2='\[\033[32m\]> \[\033[0m\]'
    17     PS2=$'\[\e[32m\]> \[\e[0m\]'
    18   ;;
    18   ;;
    19 esac
    19 esac
    20 
    20 
    21 if command -v dircolors >/dev/null 2>&1 && [[ -f ~/.dircolors ]]; then
    21 if command -v dircolors >/dev/null 2>&1 && [[ -f ~/.dircolors ]]; then
    22   eval "`dircolors -b ~/.dircolors`"
    22   eval "`dircolors -b ~/.dircolors`"