From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21429 invoked from network); 3 Jul 2001 00:59:18 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Jul 2001 00:59:18 -0000 Received: (qmail 28008 invoked by alias); 3 Jul 2001 00:58:01 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3989 Received: (qmail 27988 invoked from network); 3 Jul 2001 00:58:00 -0000 Date: Mon, 2 Jul 2001 20:58:48 -0400 From: Clint Adams To: Will Yardley Cc: zsh-users@sunsite.dk Subject: Re: weird expansion and compctl for man pages Message-ID: <20010702205848.A26619@dman.com> References: <3B411596.6E68EE4B@hq.newdream.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B411596.6E68EE4B@hq.newdream.net>; from william@hq.newdream.net on Mon, Jul 02, 2001 at 05:45:10PM -0700 > preexec () {print -Pn "\e]2;%n@%m $* %l %W %T\a"} > ssh machine ssh machine ssh machine ssh machine Check the docs for preexec. $* is no longer what you want; you'll want to replace that with either $1, $2, or $3. > 4.3-stable. does anyone have a working script on a similar system? > basically i want to be able to type: > man > and then tab complete to various programs as long as there's a man page > for them > so man l[tab] would expand to ls, lsof etc. You may want to try out autoload -U compinstall ; compinstall and see if that doesn't make your life easier.