mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 12:03:52 +00:00
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:
parent
29359546aa
commit
bc47e44ddb
5 changed files with 218 additions and 64 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue