mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
2 Commits
de21722ea8
...
e9896ae137
Author | SHA1 | Date |
---|---|---|
Latif Sulistyo | e9896ae137 | |
Latif Sulistyo | b053f89de0 |
|
@ -22,7 +22,8 @@ function title {
|
|||
print -Pn "\e]1;${1:q}\a" # set tab name
|
||||
;;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue