Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: trying completion of varying data
- X-seq: zsh-users 5025
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Andy Spiegl <zsh.Andy@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: trying completion of varying data
- Date: Sat, 1 Jun 2002 20:26:12 +0000
- In-reply-to: <20020531225024.A17033@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020531225024.A17033@xxxxxxxxxxxxxxxxxxx>
To add to what Clint suggested ...
On May 31, 10:50pm, Andy Spiegl wrote:
}
} Looking at these working examples:
} zstyle ':completion:*:*:mpg123:*' file-patterns \
} '*.(mp3|MP3):mp3\ files *(-/):directories'
}
} zstyle ':completion:*:processes' command 'ps -au$USER'
}
} I tried
} zstyle ':completion:*:*:xvncviewer:*' command 'show.active.pcs'
} (where show.active.pcs does the above)
Don't just look at the examples, look at the doc. Not all contexts use
all styles. In particular, the "command" style is only used to override
the default match-generating command for completions that already use
such a command; it won't magically cause an arbitrary completion to start
using a command to generate the matches.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author