feat: lazygit
This commit is contained in:
parent
a0dff23259
commit
4a6f1a035e
3 changed files with 10 additions and 0 deletions
|
@ -26,6 +26,7 @@ in {
|
||||||
jq = enabled;
|
jq = enabled;
|
||||||
just = enabled;
|
just = enabled;
|
||||||
lazydocker = enabled;
|
lazydocker = enabled;
|
||||||
|
lazygit = enabled;
|
||||||
less = enabled;
|
less = enabled;
|
||||||
man = enabled;
|
man = enabled;
|
||||||
nh = enabled;
|
nh = enabled;
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
./jqp.nix
|
./jqp.nix
|
||||||
./just.nix
|
./just.nix
|
||||||
./lazydocker.nix
|
./lazydocker.nix
|
||||||
|
./lazygit.nix
|
||||||
./less.nix
|
./less.nix
|
||||||
./man.nix
|
./man.nix
|
||||||
./nemo.nix
|
./nemo.nix
|
||||||
|
|
|
@ -129,6 +129,14 @@ in {
|
||||||
command = "git commit --message '{{.Form.Type}}{{ if .Form.Scope }}({{ .Form.Scope }}){{ end }}{{.Form.Breaking}}: {{.Form.Message}}'";
|
command = "git commit --message '{{.Form.Type}}{{ if .Form.Scope }}({{ .Form.Scope }}){{ end }}{{.Form.Breaking}}: {{.Form.Message}}'";
|
||||||
loadingText = "Creating conventional commit...";
|
loadingText = "Creating conventional commit...";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "P";
|
||||||
|
context = "commits";
|
||||||
|
description = "Push a specific commit (and any preceding)";
|
||||||
|
command = "git push {{.SelectedRemote.Name}} {{.SelectedLocalCommit.Sha}}:{{.SelectedLocalBranch.Name}}";
|
||||||
|
loadingText = "Pushing commit...";
|
||||||
|
stream = "yes";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
Loading…
Reference in a new issue