mirror of
https://github.com/ItsDrike/nixdots
synced 2025-07-01 00:50:43 +00:00
Add better-git-branch script
This commit is contained in:
parent
36db61f255
commit
41cd22ea33
4 changed files with 76 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
|
||||
scriptPkgs = (import ./bin {inherit pkgs;});
|
||||
in {
|
||||
programs.git = {
|
||||
aliases = {
|
||||
quickclone = "clone --single-branch --depth=1";
|
||||
|
@ -48,7 +54,7 @@
|
|||
bD = "branch --delete --force";
|
||||
bm = "branch --move";
|
||||
bM = "branch --move --force";
|
||||
bb = "!~/.local/bin/scripts/cli/better-git-branch";
|
||||
bb = "!${scriptPkgs.better-git-branch}/bin/better-git-branch";
|
||||
|
||||
r = "rebase";
|
||||
ri = "rebase -i";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue