From d61b5989c0376b9e0d63f4c29d236449ad2ccea7 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 29 Jul 2025 15:20:01 +0200 Subject: [PATCH] change the alias Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/programs/shell/zsh.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/programs/shell/zsh.nix b/home/programs/shell/zsh.nix index 8b79d59..901bd2e 100644 --- a/home/programs/shell/zsh.nix +++ b/home/programs/shell/zsh.nix @@ -117,7 +117,10 @@ in { function n4c() { - nix develop --no-write-lock-file --refresh "github:nix4cyber/n4c#''${1:-all}" -c zsh + category=''${1:-all} + shift + args=''${*} + nix develop "github:nix4cyber/n4c#''${category}" ''${args} } zle -N sesh-sessions