This preexec does not get shipped with Ubuntu, does it?
You might want to escape it using $'', like: print -Pn $'\e]0;$1\a'
See also the "print"'s in the title() function of my oh-my-zsh fork at: https://github.com/blueyed/oh-my-zsh/blob/8d5105135772ae0c3c81850cea422cc322ed6f7d/lib/termsupport.zsh#L27
This preexec does not get shipped with Ubuntu, does it?
You might want to escape it using $'', like:
print -Pn $'\e]0;$1\a'
See also the "print"'s in the title() function of my oh-my-zsh fork at: /github. com/blueyed/ oh-my-zsh/ blob/8d51051357 72ae0c3c81850ce a422cc322ed6f7d /lib/termsuppor t.zsh#L27
https:/