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 = {
|
||||
ignore_timeout = true;
|
||||
description = "The current jj status";
|
||||
detect_folders = [ ".jj" ];
|
||||
when = "jj root";
|
||||
symbol = " ";
|
||||
command = ''
|
||||
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
||||
|
||||
Reference in New Issue
Block a user