Improve display of ZSH completions

This commit is contained in:
2020-07-04 18:43:44 +01:00
parent 88230fa3e1
commit dec90dd1c9

13
zshrc
View File

@@ -65,6 +65,19 @@ zinit light zsh-users/zsh-completions
zinit ice wait lucid atload"!_zsh_autosuggest_start"
zinit light zsh-users/zsh-autosuggestions
# ==============================================================================
# Completion
# ==============================================================================
# Group completions by type under group headings
zstyle ':completion:*' group-name ''
zstyle ':completion:*:descriptions' format '%B%d%b'
# Improve selection of Makefile completions - from:
# https://github.com/zsh-users/zsh-completions/issues/541#issuecomment-384223016
zstyle ':completion:*:make:*:targets' call-command true
zstyle ':completion:*:make:*' tag-order targets
# ==============================================================================
# Private Dotfiles
# ==============================================================================