Mercurial > index.cgi > dotfiles
changeset 261:7651a91983cd
Had to swap the logic on PROMPT_COMMAND, and one more escape slash.
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Sat, 30 Mar 2024 17:36:58 -0400 |
parents | 15543c169f36 |
children | 93279b4ed0b4 |
files | .bash_prompt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"