Jomik / fish-gruvbox

gruvbox theme for fish
MIT License
47 stars 9 forks source link

Unnecessary logs when using neovim plugins or fish_config #7

Open Nishant-Pall opened 2 years ago

Nishant-Pall commented 2 years ago

I've had this issue for a long time now, and I was able to find the source file that was causing it. Basically in some applications, the fish shell is printing out the contents of theme_gruvbox.fish. If I try to execute fish_config, and I want to change my prompt style, that whole gibberish is thrown out something like this

]4;1;rgb:cc/24/1d]4;2;rgb:98/97/1a]4;3;rgb:d7/99/21]4;4;rgb:45/85/88]4;5;rgb:b1/62/86]4;6;rgb:68/9d/6a]11;rgb:1d/20/21]10;rgb:eb/db/b2]4;0;rgb:1d/20/21]4;7;rgb:a8/99/84]4;8;rgb:92/83/74]4;9;rgb:fb/59/34]4;10;rgb:b8/bb/26]4;11;rgb:fa/bd/2f]4;12;rgb:83/a5/98]4;13;rgb:d3/86/9b]4;14;rgb:8e/c0/7c]4;15;rgb:eb/db/b2]4;236;rgb:32/30/2f]4;234;rgb:1d/20/21]4;235;rgb:28/28/28]4;237;rgb:3c/38/36]4;239;rgb:50/49/45]4;241;rgb:66/5c/54]4;243;rgb:7c/6f/64]4;244;rgb:92/83/74]4;245;rgb:92/83/74]4;228;rgb:f2/e5/bc]4;230;rgb:f9/f5/d7]4;229;rgb:fb/f1/c7]4;223;rgb:eb/db/b2]4;250;rgb:d5/c4/a1]4;248;rgb:bd/ae/93]4;246;rgb:a8/99/84]4;167;rgb:fb/49/34]4;142;rgb:b8/bb/26]4;214;rgb:fa/bd/2f]4;109;rgb:83/a5/98]4;175;rgb:d3/86/9b]4;108;rgb:8e/c0/7c]4;208;rgb:fe/80/19]4;88;rgb:9d/00/06]4;100;rgb:79/74/0e]4;136;rgb:b5/76/14]4;24;rgb:07/66/78]4;96;rgb:8f/3f/71]4;66;rgb:42/7b/58]4;130;rgb:af/3a/03N_

This interferes with my neovim when using the fuzzy finder, I don't know why but I just want to get rid of this issue somehow, I could've gone for other repos providing gruvbox theme for the fish shell but this seems to be the best but only this bug/issue is something that's bothering me a lot. Any guidance on how can I remove this?

Nishant-Pall commented 2 years ago

any help on this please?

Jomik commented 2 years ago

Hey, I am a bit unsure how to solve this. Have not run into the issue myself. Maybe it would be possible for you to not run the theme function when using those applications, as they probably theme the terminal on their own already?

Nishant-Pall commented 2 years ago

I was calling it only inside my config.fish. I ended up switching to another theme but I suppose the terminal theme was interfering.