2023-11-25 14:54:17 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
programs.fish.enable = true;
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [nix-your-shell];
|
|
|
|
|
|
|
|
hm.programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
interactiveShellInit = with pkgs; ''
|
|
|
|
${lib.getExe starship} init fish | source
|
|
|
|
${lib.getExe nix-your-shell} fish | source
|
|
|
|
'';
|
|
|
|
|
2024-01-10 18:23:27 +01:00
|
|
|
functions.fish_greeting = "";
|
2023-11-25 14:54:17 +01:00
|
|
|
};
|
|
|
|
}
|