From: Simon Ruderich Date: Tue, 10 Mar 2009 16:38:34 +0000 (+0100) Subject: zsh: Display multiple matches in different groups. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;ds=inline;h=aab013d9cd824d4e83e17a70259b3714a83d6c05;p=config%2Fdotfiles.git zsh: Display multiple matches in different groups. See source code for more information. --- diff --git a/zsh/rc b/zsh/rc index f283279..858f5fc 100644 --- a/zsh/rc +++ b/zsh/rc @@ -243,6 +243,11 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # Make completion lists scrollable so "do you wish to see all n possibilities" # is no longer displayed. zstyle ':completion:*' list-prompt '%p' +# Display group name (like 'external command', 'alias', etc.) when there are +# multiple matches in bold. +zstyle ':completion:*' format ' %B%d%b:' +# Display different types of matches separately. +zstyle ':completion:*' group-name '' # Ignore completion functions. zstyle ':completion:*:functions' ignored-patterns '_*'