From 7466e4a44ebe313c0544803172716e3fe7e70baf Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 15 Nov 2024 22:21:09 -0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d879b3e..dde66a7 100644 --- a/README.md +++ b/README.md @@ -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 ``` \ No newline at end of file