From 7281f05669e92e3568f837591912350b32951555 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 30 Dec 2025 10:33:31 -0800 Subject: organize programs in a way that makes sense to me --- home/programs/shell/fish.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 home/programs/shell/fish.nix (limited to 'home/programs/shell/fish.nix') diff --git a/home/programs/shell/fish.nix b/home/programs/shell/fish.nix new file mode 100644 index 0000000..1e1ef36 --- /dev/null +++ b/home/programs/shell/fish.nix @@ -0,0 +1,22 @@ +{ pkgs, ... }: +{ + programs.fish = { + enable = true; + interactiveShellInit = '' + set fish_greeting "" + ''; + shellAbbrs = { + ncg = "nix-collect-garbage --delete-older-than 7d"; + ndc = "nix develop --command"; + nfc = "nix flake check"; + ngcroot = "ls -al /nix/var/nix/gcroots/auto/"; + nph = "nix profile history --profile /nix/var/nix/profiles/system"; + nsn = "nix search nixpkgs"; + nsv = "nix store verify --all"; + }; + }; + + home.sessionVariables = { + SHELL = "${pkgs.fish}/bin/fish"; + }; +} -- cgit v1.2.3