Skip to content

Commit

Permalink
fix: Remove text-coloring that interferes with fzf theming (#484)
Browse files Browse the repository at this point in the history
* Remove hardcoded --color=hl fzf flag

* remove hardcoded default color of ANSI white
  • Loading branch information
peterldowns authored Nov 6, 2024
1 parent b6e1b22 commit 6aced3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/-ftb-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion lib/-ftb-generate-complist
Original file line number Diff line number Diff line change
Expand Up @@ -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='·'
}
Expand Down

0 comments on commit 6aced3f

Please sign in to comment.