mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
Alexey I. Froloff: 25459: add list-dirs-first style.
Also doc.
This commit is contained in:
parent
46c4588a2b
commit
c0e501d8a5
4 changed files with 38 additions and 0 deletions
|
@ -928,6 +928,11 @@ kindex(other-accounts, completion tag)
|
|||
item(tt(other-accounts))(
|
||||
used to look up the tt(users-hosts) style
|
||||
)
|
||||
kindex(other-files, completion tag)
|
||||
item(tt(other-files))(
|
||||
for the names of any non-directory files. This is used instead
|
||||
of tt(all-files) when the tt(list-dirs-first) style is in effect.
|
||||
)
|
||||
kindex(packages, completion tag)
|
||||
item(tt(packages))(
|
||||
for packages (e.g. tt(rpm) or installed tt(Debian) packages)
|
||||
|
@ -1854,6 +1859,14 @@ example(zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS})
|
|||
The default colors are the same as for the GNU tt(ls) command and can be
|
||||
obtained by setting the style to an empty string (i.e. tt('')).
|
||||
)
|
||||
kindex(list-dirs-first, completion style)
|
||||
item(tt(list-dirs-first))(
|
||||
This is used by file completion. If set, directories to be completed
|
||||
are listed separately from and before completion for other files,
|
||||
regardless of tag ordering. In addition, the tag tt(other-files)
|
||||
is used in place of tt(all-files) for the remaining files, to indicate
|
||||
that no directories are presented with that tag.
|
||||
)
|
||||
kindex(list-grouped, completion style)
|
||||
item(tt(list-grouped))(
|
||||
If this style is `true' (the default), the completion system will try to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue