From 098183449742c5ad3f803bb16a3e4f9c29a1608d Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Wed, 17 Sep 2025 08:17:40 +0100 Subject: [PATCH] add pager and private commits for jujutsu --- home/c/programs/jj/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home/c/programs/jj/default.nix b/home/c/programs/jj/default.nix index 9c166e7..8c269f5 100644 --- a/home/c/programs/jj/default.nix +++ b/home/c/programs/jj/default.nix @@ -10,6 +10,15 @@ behavior = "own"; backend = "gpg"; }; + + ui = { + pager = "delta"; + diff-formatter = ":git"; + }; + git = { + private-commits = "description(glob:'wip:*') | description(glob:'private:*') | description(glob:'fixup*:*')"; + }; + "--scope" = [ { "--when".repositories = ["~/repos/projects.cs.nott.ac.uk"]; @@ -17,6 +26,10 @@ email = "psycl6@nottingham.ac.uk"; }; } + { + "--when".commands = ["status"]; + ui.paginate = "never"; + } ]; }; };