{ config, lib, pkgs, ... }: { options = { morphBashToFish = lib.mkEnableOption "morphBashToFish"; }; config = { programs.fish = { enable = true; interactiveShellInit = '' # add dotnet completions if it exists (ie we're in a virtual environment) if type -q dotnet complete -f -c dotnet -a "(dotnet complete (commandline -cp))" end set -g fish_greeting "Welcome weary traveller to my shop" ''; plugins = [ { name = "grc"; src = pkgs.fishPlugins.grc.src; } ]; }; }; }