git: install extras
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 15:17:39 +0200
1 files changed, 6 insertions(+), 1 deletions(-)
jump to
M user/settings/git.nix → user/settings/git.nix
@@ -75,8 +75,10 @@ lasttag = "!sh -c 'git tag --sort=version:refname | grep \"^v\\\\?[0-9]\" | tail -n1'"; pending = "!sh -c 'git log --oneline --grep=\"#\" ...$(git lasttag)'"; lg = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset'"; prl = "log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset' --grep='#'"; + gen-ignore = "ignore-io"; ignored = "ls-files --others -i --exclude-standard"; - root = "rev-parse --show-toplevel"; + clear = "clear-soft"; + clear-hard = "!git-clear-hard"; }; ignores = [ ".DS_Store" @@ -87,4 +89,7 @@ ".\#*" ".tabnine_root" ]; }; + home.packages = with pkgs; [ + git-extras # delete-merged-branches and friends + ]; }