Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: weird expansion and compctl for man pages
- X-seq: zsh-users 3989
- From: Clint Adams <clint@xxxxxxx>
- To: Will Yardley <william@xxxxxxxxxxxxxxx>
- Subject: Re: weird expansion and compctl for man pages
- Date: Mon, 2 Jul 2001 20:58:48 -0400
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <3B411596.6E68EE4B@xxxxxxxxxxxxxxx>; from william@xxxxxxxxxxxxxxx on Mon, Jul 02, 2001 at 05:45:10PM -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <3B411596.6E68EE4B@xxxxxxxxxxxxxxx>
> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author