Update README.md
This commit is contained in:
parent
ac4f2609b4
commit
7466e4a44e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function _update_ps1() {
|
||||||
PS1=$(swline $?)
|
PS1=$(swline $?)
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
if [[ ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||||
fi
|
fi
|
||||||
```
|
```
|
Loading…
Reference in a new issue