From 09a595c8db63230478fabdc5b87649805a94c44c Mon Sep 17 00:00:00 2001 From: George Kaklamanos Date: Wed, 21 May 2025 15:17:53 +0300 Subject: [PATCH] fish: Add `nix shell` functions Signed-off-by: George Kaklamanos --- home-manager/fish.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-manager/fish.nix b/home-manager/fish.nix index 6f82d40..7caf1b3 100644 --- a/home-manager/fish.nix +++ b/home-manager/fish.nix @@ -53,6 +53,10 @@ "e" = "nvim"; "cdt" = "cd (mktemp -d)"; }; + functions = { + ns = "nix shell nixpkgs#$argv[1]"; + nss = "nix shell nixpkgs#$argv[1] -c $argv"; + }; shellAbbrs = { "-h" = {