change the alias

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-07-29 15:20:01 +02:00
parent dd73b1c3e5
commit d61b5989c0

View File

@@ -117,7 +117,10 @@ in {
function n4c() { 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 zle -N sesh-sessions