.bashrc
changeset 784 8a961df3ec33
parent 783 b1ace79cf017
child 788 788f345a3dfe
equal deleted inserted replaced
783:b1ace79cf017 784:8a961df3ec33
     7 
     7 
     8 if [[ -f ~/.env ]]; then
     8 if [[ -f ~/.env ]]; then
     9   . ~/.env
     9   . ~/.env
    10 fi
    10 fi
    11 
    11 
    12 PS1='\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\033[36m================================================================\r$?|\033[31m\u\033[35m@\h\033[0m\033[36m \w \n\[\033[1m\033[31m\]bash#\[\033[0m\] '
    17     PS2='\[\033[32m\]> \[\033[0m\]'
    17     PS2='\[\033[32m\]> \[\033[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