Some time ago I wrote how I had a
a problem with color codes
prepended into formatted files while using Neovim with Prettier. In the
post I mentioned that I was able to solve the problem at hand. However, I
had one other similar problem still present in my setup after migration
from zsh to fish shell.
This problem was not that pressing for me and I was able to live with it
for some time, but wanted to have it solved eventually. In my previous
setup in zsh I had this fzf config in place:
export FZF_DEFAULT_COMMAND='rg --color=never --files --hidden --follow --glob "!.git/*"'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="fd --type d ."
Converting the above into fish shell syntax produced this:
set -gx FZF_DEFAULT_COMMAND 'rg --files --hidden --follow --glob "!.git/*"'
set -gx FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND"
set -gx FZF_ALT_C_COMMAND "fd --type d ."
Pretty easy, I thought. Not that fast! With this setup in place I had a
problem while using fzf file search:

The workaround for some time was simply to comment out the FZF_*
variables from my config.fish file but this was quite sub optimal. The
reason was that now the fzf command invoked inside nvim did not
respect my ignore files, suggesting me files from vendor and
node_modules folder, which I did not want to have in the file
suggestions, for obvious reasons.
Anyway, today I had a bit of time so I tried some searching, and had luck, because after a few minutes I have stumbled upon this comment suggesting this edit to my config:
if status --is-interactive
theme_gruvbox dark
end
Instead of just putting theme_gruvbox as a always-present setting. Now
everything appears to work correctly. Enjoy!