diff --git a/home.nix b/home.nix index 1895017..d408b30 100644 --- a/home.nix +++ b/home.nix @@ -444,27 +444,27 @@ in { programs.starship = { enable = true; settings = { - custom.jj = { - command = '' - jj log -r@ -n1 --ignore-working-copy --no-graph --color always -T ' - separate(" ", - bookmarks.map(|x| truncate_end(10, x.name(), "…")).join(" "), - tags.map(|x| truncate_end(10, x.name(), "…")).join(" "), - surround("\"", "\"", truncate_end(24, description.first_line(), "…")), - if(conflict, "conflict"), - if(divergent, "divergent"), - if(hidden, "hidden"), ) - ' - ''; - when = "jj root --ignore-working-copy"; - symbol = "jj"; - }; - custom.jjstate = { - command = '' - jj log -r@ -n1 --ignore-working-copy --no-graph --stat | tail -n1 | ${pkgs.sd}/bin/sd "(\d+) files? changed, (\d+) insertions?\(\+\), (\d+) deletions?\(-\)" ' ''${1}m ''${2}+ ''${3}-' | ${pkgs.sd}/bin/sd " 0." "" - ''; - when = "jj root"; - }; + # custom.jj = { + # command = '' + # jj log -r@ -n1 --ignore-working-copy --no-graph --color always -T ' + # separate(" ", + # bookmarks.map(|x| truncate_end(10, x.name(), "…")).join(" "), + # tags.map(|x| truncate_end(10, x.name(), "…")).join(" "), + # surround("\"", "\"", truncate_end(24, description.first_line(), "…")), + # if(conflict, "conflict"), + # if(divergent, "divergent"), + # if(hidden, "hidden"), ) + # ' + # ''; + # when = "jj root --ignore-working-copy"; + # symbol = "jj"; + # }; + # custom.jjstate = { + # command = '' + # jj log -r@ -n1 --ignore-working-copy --no-graph --stat | tail -n1 | ${pkgs.sd}/bin/sd "(\d+) files? changed, (\d+) insertions?\(\+\), (\d+) deletions?\(-\)" ' ''${1}m ''${2}+ ''${3}-' | ${pkgs.sd}/bin/sd " 0." "" + # ''; + # when = "jj root"; + # }; git_state.disabled = true; git_commit.disabled = true; git_metrics.disabled = true;