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