Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Question about completion
- X-seq: zsh-users 4243
- From: "Daniel Brahneborg" <daniel.brahneborg@xxxxxxxxxxxxx>
- To: "Goran Koruga" <goran.koruga@xxxxxxxxx>, "Zsh-Users Mailing List" <zsh-users@xxxxxxxxxx>
- Subject: RE: Question about completion
- Date: Tue, 18 Sep 2001 14:46:53 +0200
- Cc: "Daniel Brahneborg" <daniel.brahneborg@xxxxxxxxxxxxx>
- In-reply-to: <20010918143251.I31900@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
> My second question is more complicated. In ClearCase, one can access
> different version of file with syntax like this : filename@@version,
> where version is /main/1 for example. So full path for a file may look
> like "foo@@/main/1". Right now, my completion lists only the
> filenames,
> that is, only "foo" is listed. Is there a way to program completion so
> that if a strng ends with "@@", I could run a custom function
> which would
> list all the versions available ? I have looked at the manual
> pages and
> examples, but I can't figure this out.
Try foo@@/, and press tab. The overloaded readdir() in mvfs will
sort it out, and give the list of versions. Works in 4nt too.
/Basic
Messages sorted by:
Reverse Date,
Date,
Thread,
Author