summaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completion')
-rw-r--r--etc/completion8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/completion b/etc/completion
index 5eaae9b..4fed4d6 100644
--- a/etc/completion
+++ b/etc/completion
@@ -13,17 +13,19 @@ zstyle ':completion:*' menu select=1
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z} m:_=\\\ ' ''
# Be verbose
+char=${ps_yellow}$(zchar compdelim)${ps_reset}
zstyle ':completion:*' verbose true
zstyle ':completion:*:descriptions' format \
- "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}"
+ "$char %d $char"
zstyle ':completion:*:messages' format \
- "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}"
+ "$char %d $char"
zstyle ':completion:*:corrections' format \
- "${ps_yellow}·${ps_reset} %d ${ps_yellow}·${ps_reset}"
+ "$char %d $char"
zstyle ':completion:*:warnings' format \
"${ps_red}no match:${ps_reset} %d"
zstyle ':completion:*' group-name ''
+unset char
# program-specific settings
zstyle ':completion:*:*:kill:*' menu yes