diff options
author | Alan Pearce | 2024-05-11 15:17:39 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-11 15:20:51 +0200 |
commit | 22b2b2d668e522991a253dc18cad579b7a849546 (patch) | |
tree | f60f2f532704631f258b5e95cc19b53809e7a71d /user/settings | |
parent | ed3b8982fdc50c2e79532a203f749a8f96e538f8 (diff) | |
download | nixfiles-22b2b2d668e522991a253dc18cad579b7a849546.tar.lz nixfiles-22b2b2d668e522991a253dc18cad579b7a849546.tar.zst nixfiles-22b2b2d668e522991a253dc18cad579b7a849546.zip |
git: install extras
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/git.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix index c0170b4b..e5f4770b 100644 --- a/user/settings/git.nix +++ b/user/settings/git.nix @@ -75,8 +75,10 @@ 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 + ]; } |