Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Setting window titile under Cygwin



Just in case anybody else did not know it.

Under Cygwin you can set window title with the same sequence as in xterm:

ESC ] O ; ... ^G

(replace ... with your title). So I currently use this in  my chpwd() function
for almost all types of terminals I have:

print -nP -u2 "\033]0;%n@%m:%~\a"

Enjoy :-)

-andrej

Have a nice DOS!
B >>



Messages sorted by: Reverse Date, Date, Thread, Author