fix(jj prompt info): snapshot on new command
This commit is contained in:
parent
227cc5bc85
commit
2925bb3672
1 changed files with 1 additions and 1 deletions
2
home.nix
2
home.nix
|
|
@ -455,7 +455,7 @@ in {
|
|||
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 --ignore-working-copy";
|
||||
when = "jj root";
|
||||
};
|
||||
git_state.disabled = true;
|
||||
git_commit.disabled = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue