mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 293828f32a into 291e96dcd0
This commit is contained in:
commit
19a5bb34f1
3 changed files with 7 additions and 7 deletions
|
|
@ -42,13 +42,13 @@ if [[ "$TERM" == screen* ]]; then
|
|||
local -a cmd; cmd=(${(z)1}) # the command string
|
||||
eval "tab_title=$TAB_TITLE_PREFIX:$TAB_TITLE_EXEC"
|
||||
eval "tab_hardstatus=$TAB_HARDSTATUS_PREFIX:$TAB_HARDSTATUS_EXEC"
|
||||
screen_set $tab_title $tab_hardstatus
|
||||
screen_set ${MANUAL_TITLE:-$tab_title} ${MANUAL_TITLE:-$tab_hardstatus}
|
||||
}
|
||||
# called by zsh before showing the prompt
|
||||
function precmd()
|
||||
{
|
||||
eval "tab_title=$TAB_TITLE_PREFIX:$TAB_TITLE_PROMPT"
|
||||
eval "tab_hardstatus=$TAB_HARDSTATUS_PREFIX:$TAB_HARDSTATUS_PROMPT"
|
||||
screen_set $tab_title $tab_hardstatus
|
||||
screen_set ${MANUAL_TITLE:-tab_title} ${MANUAL_TITLE:-$tab_hardstatus}
|
||||
}
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue