mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-04-22 18:08:14 +00:00
Merge b053f89de09d94300f08158d4147a4e73f6617cc into 1de190e4391ce6c2fbe2bdf0025104cf3cb98231
This commit is contained in:
commit
24d6c6ec94
@ -22,7 +22,8 @@ function title {
|
|||||||
print -Pn "\e]1;${1:q}\a" # set tab name
|
print -Pn "\e]1;${1:q}\a" # set tab name
|
||||||
;;
|
;;
|
||||||
screen*|tmux*)
|
screen*|tmux*)
|
||||||
print -Pn "\ek${1:q}\e\\" # set screen hardstatus
|
print -Pn "\e]2;${2:q}\e\\" # set tmux pane title
|
||||||
|
print -Pn "\ek${1:q}\e\\" # set screen hardstatus/tmux window name if `allow-rename` is on
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
|
if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user