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

Re: weird expansion and compctl for man pages



>                 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