Simplify netty worktree commands

Collapse the netty worktree helpers into wt create/remove/prune, keep wt-create as a thin wrapper, and drop the standalone wt-path command.

Also make the netty zsh wrappers handle cd-only behavior for wtc and wt remove.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Harivansh Rathi 2026-03-30 18:36:50 +00:00
parent 29359546aa
commit bc47e44ddb
5 changed files with 218 additions and 64 deletions

View file

@ -112,16 +112,15 @@
};
nettyPackages = {
wt-create = mkScript {
name = "wt-create";
file = ./wt-create.sh;
wt = mkScript {
name = "wt";
file = ./wt.sh;
runtimeInputs = with pkgs; [coreutils git gnused];
};
wt-path = mkScript {
name = "wt-path";
file = ./wt-path.sh;
runtimeInputs = with pkgs; [coreutils git gnused];
wt-create = mkScript {
name = "wt-create";
file = ./wt-create.sh;
};
};
in {