home/git: add fixup-interactive script
This commit is contained in:
@@ -52,6 +52,7 @@ in
|
||||
authors = "shortlog --summary --numbered --email";
|
||||
si = "switch-interactive";
|
||||
ff = "fixup-fixup";
|
||||
fi = "fixup-interactive";
|
||||
rf = "rebase-fixups";
|
||||
pp = "post-pr";
|
||||
subs = "submodule update --init --recursive";
|
||||
@@ -335,6 +336,11 @@ in
|
||||
runtimeInputs = with pkgs; [ cfg.package gnused ];
|
||||
text = lib.fileContents ./scripts/git-rebase-fixups.sh;
|
||||
})
|
||||
(pkgs.writeShellApplication {
|
||||
name = "git-fixup-interactive";
|
||||
runtimeInputs = with pkgs; [ cfg.package gnused gnugrep fzf ];
|
||||
text = lib.fileContents ./scripts/git-fixup-interactive.sh;
|
||||
})
|
||||
(pkgs.writeShellApplication {
|
||||
name = "git-switch-interactive";
|
||||
runtimeInputs = with pkgs; [ cfg.package fzf gnused coreutils ];
|
||||
|
||||
Reference in New Issue
Block a user