You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fish_config: silently doesn't set color schemes. #8419
I haven't looked too deeply into this but choosing a new color scheme causes no changes upon hitting the Set Theme button for me in Safari.
I haven't gotten to the bottom of it but I think it may be due to changes in July, but it also might not be, since I think this just doesn't get a ton of attention and these could just be unrelated oversights/noise: The console is throwing obvious errors due to color_scheme_fish_default being missing (it used to be in colorutils.js, now it's nowhere), and a random static analysis tool1 has 4 alerts to complain about between webconfig.py and controller.js on one commit from July… which might also not actually be the cause of the problem.
I like to imagine if this didn't work for four months people would notice. So it really could be something else.
I like to imagine if this didn't work for four months people would notice. So it really could be something else.
No, it actually was broken for four months. We have surprisingly few people regularly running git, and of those most won't use the color picker regularly as they've already chosen a scheme before.
So this is a very good catch and would have been awkward in a release. Thanks!
Longer term, it might be nice to make setting the theme and setting the prompt through fish_config check responses and make the webserver report failure better - such that we can definitely show an alert() or something when something has gone wrong.
And for the sake of sanity, someday implement the CLI options not as the short circuiting fishcript overlay but in fish_config itself? This would make it easier to wire up some tests.
Activity
faho commentedon Nov 8, 2021
No, it actually was broken for four months. We have surprisingly few people regularly running git, and of those most won't use the color picker regularly as they've already chosen a scheme before.
So this is a very good catch and would have been awkward in a release. Thanks!
faho commentedon Nov 8, 2021
Now the theme itself is in https://github.com/fish-shell/fish-shell/blob/master/share/tools/web_config/themes/fish%20default.theme - #8127 made it so the themes are stored in separate .theme files so we can share them with the new CLI - #8132.
The variable is gone and I missed it.
floam commentedon Nov 8, 2021
Longer term, it might be nice to make setting the theme and setting the prompt through fish_config check responses and make the webserver report failure better - such that we can definitely show an alert() or something when something has gone wrong.
And for the sake of sanity, someday implement the CLI options not as the short circuiting fishcript overlay but in fish_config itself? This would make it easier to wire up some tests.
floam commentedon Nov 9, 2021
and thanks for fixing it @faho!
CHANGELOG updates for 3.4.0