danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.02k stars 121 forks source link

alacritty: long loading times for fish shell #202

Open PluggeRo opened 8 months ago

PluggeRo commented 8 months ago

My current setup is a fish shell in Alacritty. I also use the base-16-schemes to take a theme of my choice. When the scheme was activated, I noticed long loading times when I opened a new terminal. It takes almost 5 seconds for the fish shell to open (an empty alacritty terminal opens instantly).

By activating the individual modules manually, I realized that the long loading times are due to the simultaneous activation of the Alacritty and Fish modules. After I deactivated the Fish module, everything works quickly again as planned. Presumably the themes are loaded several times in this setup.

danth commented 8 months ago

Does this also happen with other terminals, or is it specific to Alacritty?

neonalton commented 8 months ago

Happens in all terminals I tested in (xterm, console, alacritty). But disabling the fish module resolves the issues like he mentions

trueNAHO commented 6 months ago

Slightly unrelated, but the general fish startup time could be improved with: https://github.com/nix-community/home-manager/issues/4427.