diff --git a/_bashrc b/_bashrc index b30ec62..677e882 100644 --- a/_bashrc +++ b/_bashrc @@ -93,11 +93,9 @@ prompt_status() { if [[ "$exitStatus" == "0" ]] then - echo -n $GREENB - echo -en '\xE2\x9a\x90' + echo -n "${GREENB}\xE2\x9a\x90" else - echo -n $REDB - echo -en '\xE2\x9a\x91' + echo -n "${REDB}\xE2\x9a\x91" fi } prompt_root() @@ -121,11 +119,11 @@ prompt_remote() __ps1pre() { export exitStatus=$? - echo -n "${WHITEB}(${WHITE}\u@$(prompt_remote)\h${WHITEB}) ${BLUEB}\w${RESET}" + echo -en "${YELLOWB}(${WHITE}\u${YELLOWB}@$(prompt_remote)\h${YELLOWB}) ${BLUEB}\w${RESET}" } __ps1post() { - echo -n "\n$(prompt_status) $(prompt_root)${RESET} " + echo -en "\n$(prompt_status) $(prompt_root)${RESET} " } __ps1() {