mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-09-21 02:17:11 +00:00
add "\[\e]0;\u@\h: \w\a\]" to top of PS1 to fix terminal title can not display
This commit is contained in:
parent
0f726d999a
commit
b7a3f99492
@ -289,7 +289,7 @@ function __brainy_ps2 {
|
||||
function _omb_theme_PROMPT_COMMAND {
|
||||
exitcode="$?"
|
||||
|
||||
PS1="$(__brainy_ps1)"
|
||||
PS1="\[\e]0;\u@\h: \w\a\]$(__brainy_ps1)"
|
||||
PS2="$(__brainy_ps2)"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user