From 6aced3f35def61c5edf9d790e945e8bb4fe7b305 Mon Sep 17 00:00:00 2001 From: Peter Downs Date: Wed, 6 Nov 2024 05:30:31 -0500 Subject: [PATCH] fix: Remove text-coloring that interferes with fzf theming (#484) * Remove hardcoded --color=hl fzf flag * remove hardcoded default color of ANSI white --- lib/-ftb-fzf | 1 - lib/-ftb-generate-complist | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/-ftb-fzf b/lib/-ftb-fzf index 62f93f1..926814b 100755 --- a/lib/-ftb-fzf +++ b/lib/-ftb-fzf @@ -91,7 +91,6 @@ FZF_DEFAULT_OPTS=$fzf_default_opts SHELL=$ZSH_NAME $fzf_command \ --ansi \ --bind=$binds \ --bind="${switch_group[1]}:reload($reload_command -1),${switch_group[2]}:reload($reload_command 1)" \ - --color=hl:$(( header_lines == 0 ? 188 : 255 )) \ --cycle \ --delimiter='\x00' \ --expect=$continuous_trigger,$print_query,$accept_line \ diff --git a/lib/-ftb-generate-complist b/lib/-ftb-generate-complist index 42dd033..094b1b8 100644 --- a/lib/-ftb-generate-complist +++ b/lib/-ftb-generate-complist @@ -9,7 +9,7 @@ local -A word_map=() (( $#_ftb_compcap == 0 )) && return -ftb-zstyle -s show-group show_group || show_group=full --ftb-zstyle -s default-color default_color || default_color=$'\x1b[37m' +-ftb-zstyle -s default-color default_color || default_color='' -ftb-zstyle -s prefix prefix || { zstyle -m ':completion:*:descriptions' format '*' && prefix='ยท' }