1
0
Fork 0
mirror of synced 2024-12-23 14:33:21 -05:00
zimfw/modules/completion
Eric Nielsen cfdf36d76b [completion] Ask when completion list is long
To achieve this, we have to make sure that the following is not set:
* `zstyle ':completion:*:default' list-prompt '...'`

otherwise long completion lists will be paginated (without prompting).

The list is considered too long when it's greater than `${LISTMAX}`,
which has a value of 100 by default.

Also remove options being set (or unset) that are already the default,
namely:
* `AUTO_MENU <D>`
* `AUTO_LIST (-9) <D>`
* `MENU_COMPLETE (-Y)`

And remove the space character from the beginning of the messages.

Fixes #136. Closes #248
2018-03-01 08:25:33 +01:00
..
external@7ec52769d3 [completion] Update submodule to version 0.27.0 2017-11-01 17:49:00 -05:00
compdefs.zsh add compdef for pacman aliases 2015-12-17 03:06:12 -05:00
init.zsh [completion] Ask when completion list is long 2018-03-01 08:25:33 +01:00
README.md update completion docs to reflect zmodules order 2015-12-17 03:06:12 -05:00

Completion

Enables and configures smart and extensive tab completion.

Completions are sourced from zsh-completions.

This should be the LAST module in the zmodules list in your .zimrc.

Contributing

Command completions should be submitted upstream to zsh-completions.