The `window_title` variable can be set to completely override the title of the terminal window. Alternatively, if the `term_name` variable is set, it will be prepended to the default window title.
2 lines
80 B
Plaintext
2 lines
80 B
Plaintext
print -Pn "\e]0;${window_title:-${term_name}${term_name:+ - }%n@%m:%~ (%y%)}\a"
|