diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-10 18:42:38 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-10 18:42:38 +0000 |
commit | 3b4009cd5321331a74b848a109323182173d7802 (patch) | |
tree | 59a96986d31f8c645b8e1cb6328805e78d10a1af /Etc/FAQ.yo | |
parent | e721ca5e67d37ffcc48d3dc5f5b2739df1f4412a (diff) | |
download | zsh-3b4009cd5321331a74b848a109323182173d7802.tar.gz zsh-3b4009cd5321331a74b848a109323182173d7802.tar.xz zsh-3b4009cd5321331a74b848a109323182173d7802.zip |
zsh-workers/8994
Diffstat (limited to 'Etc/FAQ.yo')
-rw-r--r-- | Etc/FAQ.yo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index e91584cb6..5e4876328 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -49,7 +49,7 @@ description(\ mydit(Archive-Name:) unix-faq/shell/zsh mydit(Last-Modified:) 1999/07/30 mydit(Submitted-By:) email(pws@ibmth.df.unipi.it (Peter Stephenson)) -mydit(Version:) $Id: FAQ.yo,v 1.1.1.15 1999/11/30 06:12:09 akr Exp $ +mydit(Version:) $Id: FAQ.yo,v 1.1.1.16 1999/12/10 18:42:38 akr Exp $ mydit(Posting-Frequency:) Monthly mydit(Copyright:) (C) P.W. Stephenson, 1995--1999 (see end of document) ) @@ -1122,7 +1122,7 @@ sect(How do I automatically display the directory in my xterm title bar?) You should use the special function mytt(chpwd), which is called when the directory changes. The following checks that standard output is a terminal, then puts the directory in the title bar if the terminal - is an tt(xterm) or a tt(sun-cmd). + is compatible with tt(xterm) or is a tt(sun-cmd). verb( chpwd() { @@ -1130,7 +1130,7 @@ sect(How do I automatically display the directory in my xterm title bar?) case $TERM in sun-cmd+CHAR(41) print -Pn "\e]l%~\e\\" ;; - xterm+CHAR(41) print -Pn "\e]2;%~\a" + *xterm*|rxvt|dtterm|Eterm+CHAR(41) print -Pn "\e]2;%~\a" ;; esac } |