mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
add completion messages
the completion messages are more verbose; they display the category of the current completion (file, command, etc.)
This commit is contained in:
parent
762b55bb2b
commit
814bf1c63e
1 changed files with 18 additions and 0 deletions
|
|
@ -68,3 +68,21 @@ if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
|
||||||
zle -N expand-or-complete-with-dots
|
zle -N expand-or-complete-with-dots
|
||||||
bindkey "^I" expand-or-complete-with-dots
|
bindkey "^I" expand-or-complete-with-dots
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Completion messages
|
||||||
|
# originally due to Adam Spiers <adam@spiers.net>
|
||||||
|
|
||||||
|
# Separate matches into groups
|
||||||
|
zstyle ':completion:*:matches' group 'yes'
|
||||||
|
|
||||||
|
# Describe each match group.
|
||||||
|
zstyle ':completion:*:descriptions' format "%B---- %d%b"
|
||||||
|
|
||||||
|
# Messages/warnings format
|
||||||
|
zstyle ':completion:*:messages' format '%B%U---- %d%u%b'
|
||||||
|
zstyle ':completion:*:warnings' format '%B%U---- no match for: %d%u%b'
|
||||||
|
|
||||||
|
# Describe options in full
|
||||||
|
zstyle ':completion:*:options' description 'yes'
|
||||||
|
zstyle ':completion:*:options' auto-description '%d'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue