Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _files vs _path_files discussion (old thread)
- X-seq: zsh-workers 10085
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _files vs _path_files discussion (old thread)
- Date: Sun, 12 Mar 2000 06:34:58 +0000
- In-reply-to: <1000312062134.ZM27047@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199909170728.JAA01949@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000311222225.A27795@xxxxxxxxxxxxxxxxxxxxxxx> <1000312001854.ZM26814@xxxxxxxxxxxxxxxxxxxxxxx> <20000312005127.A28688@xxxxxxxxxxxxxxxxxxxxxxx> <1000312062134.ZM27047@xxxxxxxxxxxxxxxxxxxxxxx>
On Mar 12, 6:21am, Bart Schaefer wrote:
} Subject: Re: _files vs _path_files discussion (old thread)
}
} [*] Sven's suggested change was:
} } ... should we make the directories tag with its usual pattern be
} } tried automatically if the user explicitly sets the file-patterns tag
} } for globbed-files? Or should we do that only if the directories tag,
} } file-patterns style is given, but allow an empty value to stand for
} } `the normal pattern'?
}
} My short answer is that I don't think there's any good solution. The
} tag-order style is going to be confusing no matter what we do [...]
One additional thought: It would be nice to be able to specify that
_paths_ are completed, rather than merely directories; i.e. like the
difference between "compctl -g '*(-/)'" and "compctl -/". I'm not
convinced that "zstyle *directories file-patterns '*(-/)'" does that.
} some kind of blaring all-caps text in the tag-order documentation:
}
} NAMING A TAG IN TAG-ORDER DOES NOT CAUSE COMPLETIONS FOR THAT TAG TO BE
} GENERATED; RATHER, IT SORTS THE COMPLETIONS AFTER THEY ARE GENERATED.
Hrm, maybe even add "... BUT ONLY _IF_ ANY ARE GENERATED FOR THAT TAG."
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author