zsh: Make standard completions a bit prettier

This commit is contained in:
tastytea 2022-03-28 05:51:56 +02:00
parent 9cacdd0ce9
commit fb42d64bb8
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -12,6 +12,7 @@ setopt ALWAYS_TO_END COMPLETE_IN_WORD GLOB_COMPLETE
zstyle ':completion:*' use-cache on
zstyle ':completion::complete:*' cache-path "${ZSH_CACHE_DIR}/zcompcache"
zstyle ':completion:*' menu select
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' completer _complete _ignored _approximate
# Next line is hyphen- and case-insensitive, partial-word and substring
# completion, copied from oh-my-zsh.
@ -72,7 +73,7 @@ fi
zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup
zstyle ':fzf-tab:complete:*:*' popup-pad 200 2 # Add padding [right, bottom]
zstyle ':completion:*:descriptions' format '[%d]'
zstyle ':completion:*:descriptions' format '%F{green}[%d]%f'
zstyle ':fzf-tab:*' show-group none
zstyle ':fzf-tab:*' prefix ''