We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cbf049 commit f0ece75Copy full SHA for f0ece75
lib/termsupport.zsh
@@ -5,7 +5,7 @@
5
function title {
6
[ "$DISABLE_AUTO_TITLE" != "true" ] || return
7
if [[ "$TERM" == screen* ]]; then
8
- print -Pn "\ek$1:q\e\\" #set screen hardstatus, usually truncated at 20 chars
+ print -Pn "\ek$2:q\e\\" #set screen hardstatus, usually truncated at 20 chars
9
elif [[ "$TERM" == xterm* ]] || [[ $TERM == rxvt* ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
10
print -Pn "\e]2;$2:q\a" #set window name
11
print -Pn "\e]1;$1:q\a" #set icon (=tab) name (will override window name on broken terminal)
0 commit comments