I'm using Home-Manager on NixOS and since everything has to be declared ahead of time, I was wondering if that can be done with Tide. I'm assuming if I canconfigure before running fish I can avoid this error (apologize about the ugly nix store names):
[five@desktop:~/home-configuration]$ fish
/nix/store/xvin9f4plkmd5bgmclhis1jz2swj6xny-source/functions/_tide_git_prompt_set_vars.fish (line 2): switch: Expected exactly one argument, got 0
switch $tide_git_prompt_bg_color
^
in function “_tide_git_prompt_set_vars”
called on line 3 of file /nix/store/xvin9f4plkmd5bgmclhis1jz2swj6xny-source/conf.d/_tide_Ω_init.fish
from sourcing file /nix/store/xvin9f4plkmd5bgmclhis1jz2swj6xny-source/conf.d/_tide_Ω_init.fish
called on line 15 of file ~/.config/fish/conf.d/plugin-tide.fish
from sourcing file ~/.config/fish/conf.d/plugin-tide.fish
called on line 305 of file /nix/store/aq7sz6wvcwc5wpbwyy8rxwi8c7clkalb-fish-3.0.2/share/fish/config.fish
from sourcing file /nix/store/aq7sz6wvcwc5wpbwyy8rxwi8c7clkalb-fish-3.0.2/share/fish/config.fish
called during startup
string replace: Expected argument
math: Expected at least 1 args, got only 0
string replace: Expected argument
I'm new to fish so I might need to change something in the fish config file as well.
I'm using Home-Manager on NixOS and since everything has to be declared ahead of time, I was wondering if that can be done with Tide. I'm assuming if I canconfigure before running fish I can avoid this error (apologize about the ugly nix store names):
I'm new to fish so I might need to change something in the fish config file as well.