# HG changeset patch # User Steve Huston # Date 1711834618 14400 # Node ID 7651a91983cd15ea006381d01bdfdf3485a52fde # Parent 15543c169f360673f475b2841a5deb7e8d65cfea Had to swap the logic on PROMPT_COMMAND, and one more escape slash. diff -r 15543c169f36 -r 7651a91983cd .bash_prompt --- a/.bash_prompt Sat Mar 30 11:17:23 2024 -0400 +++ b/.bash_prompt Sat Mar 30 17:36:58 2024 -0400 @@ -134,7 +134,7 @@ if test $1 -eq 0 ; then PROMPT_SYMBOL="\\$" else - PROMPT_SYMBOL="${LIGHT_RED}\\$${COLOR_NONE}" + PROMPT_SYMBOL="${LIGHT_RED}\\\$${COLOR_NONE}" fi } @@ -167,4 +167,4 @@ } # Tell bash to execute this function just before displaying its prompt. -PROMPT_COMMAND="history -a ; set_bash_prompt" +PROMPT_COMMAND="set_bash_prompt ; history -a"