Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Sort order
- X-seq: zsh-users 6893
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh-users List <zsh-users@xxxxxxxxxx>
- Subject: Re: Sort order
- Date: Mon, 15 Dec 2003 18:08:09 +0000
- In-reply-to: <20031213232313.GU18859@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20031213160239.GT18859@xxxxxxxxxxxxxxxxxxxx> <1031213191527.ZM5307@xxxxxxxxxxxxxxxxxxxxxxx> <20031213232313.GU18859@xxxxxxxxxxxxxxxxxxxx>
On Dec 14, 12:23am, Jesper Holmberg wrote:
}
} > } LC_CTYPE=sv_SE
} > } LC_COLLATE=sv_SE
} >
} > If you give the command
} >
} > print -l *
} >
} > do you see the files in same order that "ls" displays them, or in the
} > same order that menu completion offers them?
}
} So, print -l * gives the right order, but still menu-completion offers me
} the order låre lare lere.
There appears to be a bug masquerading as an optimization in the file-sort
style.
When either no ordering (style not set), or name ordering, is requested,
_path_files puts the names into a sorted group so that the completion
system reorders them internally, thereby bypassing the LC_COLLATE order.
If on the other hand you request any non-name ordering, or reverse name
ordering, then _path_files orders the names with globbing and puts them
into an unsorted group so that completion skips the internal reordering.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author