all repos — nixfiles @ ac5940f6364a92606b2ea13647fa6ddaee1f72a5

System and user configuration, managed by nix and home-manager

fish: switch from tide to hydro (forked)

Alin
commit

ac5940f6364a92606b2ea13647fa6ddaee1f72a5

parent

26d9a238751a7d70006cfd25fac24e55eebd3808

1 file changed, 1 insertion(+), 22 deletions(-)

changed files
M user/settings/fish.nix → user/settings/fish.nix
@@ -32,7 +32,7 @@ sponge
] ++ [ pkgs.personal.fishPlugins.ghq - pkgs.personal.fishPlugins.tide + pkgs.personal.fishPlugins.hydro ] ); shellAliases = {
@@ -65,27 +65,6 @@ enable = true;
nix-output-monitor.enable = true; enableFishIntegration = true; }; - - programs.fish.shellInit = '' - set fish_function_path $fish_function_path[1] ${config.xdg.configHome}/fish/functions/tide $fish_function_path[2..-1] - ''; - home.activation.tide-configure = '' - run ${lib.getExe config.programs.fish.package} -c ' - tide configure \ - --auto \ - --style=Lean \ - --prompt_colors="16 colors" \ - --show_time="24-hour format" \ - --lean_prompt_height="Two lines" \ - --prompt_connection=Disconnected \ - --prompt_spacing=Compact \ - --icons="Few icons" - set --universal tide_left_prompt_items shlvl context pwd vcs newline character - - set --local idx (contains --index context $tide_right_prompt_items) - and set --universal --erase tide_right_prompt_items[$idx] - ' - ''; home.activation.sponge-configure = '' run ${lib.getExe config.programs.fish.package} -c '