diff options
Diffstat (limited to '.config/zsh/rc/completion.rc')
| -rwxr-xr-x | .config/zsh/rc/completion.rc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/zsh/rc/completion.rc b/.config/zsh/rc/completion.rc new file mode 100755 index 0000000..ee6cce7 --- /dev/null +++ b/.config/zsh/rc/completion.rc @@ -0,0 +1,14 @@ +# case-insensitive (uppercase from lowercase) completion +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' + +# process completion +zstyle ':completion:*:processes' command 'ps -au$USER' +zstyle ':completion:*:*:kill:*:processes' list-colors "=(#b) #([0-9]#)*=36=31" + +# zstyle +zstyle ':completion:*' completer _expand _complete _ignored +zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} +zstyle ':completion:*' menu select=2 +zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s' +zstyle ':completion:*:descriptions' format '%U%F{yellow}%d%f%u' + |
