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

Re: <x-y> globing pattern doesn't sort?



On Mon, Sep 13, 2004 at 05:10:07PM +0100, Peter Stephenson wrote:
> > which really suprised my as I thought the whole point of the <-> pattern
> > was to allow for an ordered sequence to be returned (contrary to a
> > simple *).
> > 
> > Am I mistaken in that belief?
> 
> Yes.  However, you can set the option numeric_glob_sort.  A quick test
> suggests completion will obey this, which does what you want.  Note that
> that's independent of how the matches were generated, however, so
> replacing <1-19> with * wouldn't change the result.

Thanks for the explanation. As always: I had a dream, zsh had it



Messages sorted by: Reverse Date, Date, Thread, Author