From fb42d64bb894da34d2d420daaae2ad7ed404cc55 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 28 Mar 2022 05:51:56 +0200 Subject: [PATCH] zsh: Make standard completions a bit prettier --- .config/zsh/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ada277e..e8e4df5 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -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 ''