Update README.md

This commit is contained in:
Nova Cat 2024-11-15 22:21:09 -08:00
parent ac4f2609b4
commit 7466e4a44e

View file

@ -16,7 +16,7 @@ function _update_ps1() {
PS1=$(swline $?)
}
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
if [[ ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
```