Make the gg alias call git gui without citool
- Previously the gg alias called `git gui citool`
- As we're using lazygit instead of git-gui, we can't use the citool flag
diff --git a/modules/git.nix b/modules/git.nix
index 80a2c2c..fb9ee89 100644
--- a/modules/git.nix
+++ b/modules/git.nix
@@ -46,9 +46,12 @@
core.fsmonitor = true;
};
};
- home.packages = [
- pkgs.git-review
- pkgs.lazygit
- ];
+ home = {
+ shellAliases.gg = "${pkgs.git}/bin/git gui";
+ packages = [
+ pkgs.git-review
+ pkgs.lazygit
+ ];
+ };
};
}