fix: Remove text-coloring that interferes with fzf theming (#484)
Some checks failed
Linux compability / test (archlinux:latest) (push) Has been cancelled
Linux compability / test (ubuntu:latest) (push) Has been cancelled
macOS compability / test (push) Has been cancelled
Zsh compability / test (5.3.1) (push) Has been cancelled
Zsh compability / test (5.4.2) (push) Has been cancelled
Zsh compability / test (5.5.1) (push) Has been cancelled
Zsh compability / test (5.6.2) (push) Has been cancelled
Zsh compability / test (5.7.1) (push) Has been cancelled
Zsh compability / test (5.8) (push) Has been cancelled
Zsh compability / test (5.9) (push) Has been cancelled

* Remove hardcoded --color=hl fzf flag

* remove hardcoded default color of ANSI white
This commit is contained in:
Peter Downs 2024-11-06 05:30:31 -05:00 committed by GitHub
parent b6e1b22458
commit 6aced3f35d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -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 \

View file

@ -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='·'
}