feat(starship): use "jj root" to determine whether to show jj module
This commit is contained in:
@@ -44,7 +44,7 @@ lib.my.makeSwitch {
|
|||||||
jj = {
|
jj = {
|
||||||
ignore_timeout = true;
|
ignore_timeout = true;
|
||||||
description = "The current jj status";
|
description = "The current jj status";
|
||||||
detect_folders = [ ".jj" ];
|
when = "jj root";
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
command = ''
|
command = ''
|
||||||
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
||||||
|
|||||||
Reference in New Issue
Block a user