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