Skip to content

Commit

Permalink
Do not enable much slow git operations even for large project
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Apr 8, 2024
1 parent c04c393 commit 7d7b673
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
17 changes: 0 additions & 17 deletions home-manager/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
duster = "remote update origin --prune";
refresh = "!git switch-default && git pull --prune \"$(git upstream)\" \"$(git current)\"";
all = "!git refresh && git-delete-merged-branches";
gui = "!lazygit";
# Do not add `--graph`, it makes too slow in large repository as NixOS/nixpkgs
pp = "log --pretty=format:'%Cgreen%cd %Cblue%h %Creset%s' --date=short --decorate --tags HEAD";
};
Expand Down Expand Up @@ -186,20 +185,4 @@
];
};
};

# https://github.com/nix-community/home-manager/blob/release-23.11/modules/programs/lazygit.nix
programs.lazygit = {
enable = true;

# https://dev.classmethod.jp/articles/eetann-lazygit-config-new-option/
settings = {
gui = {
language = "ja";
showIcons = true;
theme = {
lightTheme = true;
};
};
};
};
}
1 change: 0 additions & 1 deletion home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

git
tig
lazygit
gh
ghq

Expand Down

0 comments on commit 7d7b673

Please sign in to comment.