stylix icon indicating copy to clipboard operation
stylix copied to clipboard

fish: `base16-fish` script runs twice

Open donovanglover opened this issue 1 year ago • 1 comments

Noticed while finding the cause of https://github.com/danth/stylix/issues/526. Seems to be caused by using interactiveShellInit and promptInit.

donovanglover avatar Aug 25 '24 16:08 donovanglover

Yes, this will be because it appears in both the NixOS configuration and the Home Manager configuration when they're used together.

We could prevent it by setting an environment variable once the script has completed, then testing for that environment variable before trying to run it again.

danth avatar Aug 27 '24 12:08 danth