Skip to content

Is there a way to use the colors specified in config.fish? #170

Answered by PatrickF1
Cokile asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Cokile! The color in the second screenshot is coming from fd. If you look at https://github.com/PatrickF1/fzf.fish/blob/main/functions/__fzf_search_current_dir.fish#L6, you'll see that fd is colorizing the results before piping them to fzf. You can try setting fzf_fd_opts to do --color=never but I think it might not work because fd doesn't allow duplicate options.

Unfortunately, I can't just remove --color=always because it's a very helpful option for most people and I don't want people to miss out on it.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Cokile
Comment options

You must be logged in to vote
2 replies
@PatrickF1
Comment options

@kidonng
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants