Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Setting window titile under Cygwin
- X-seq: zsh-users 3356
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH users mailing list" <zsh-users@xxxxxxxxxxxxxx>
- Subject: Setting window titile under Cygwin
- Date: Thu, 3 Aug 2000 15:16:41 +0400
- Importance: Normal
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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