diff --git a/vcs/jj/config/nushell/autoload/jj.nu b/vcs/jj/config/nushell/autoload/jj.nu index 43184cc..009fa7c 100644 --- a/vcs/jj/config/nushell/autoload/jj.nu +++ b/vcs/jj/config/nushell/autoload/jj.nu @@ -58,7 +58,8 @@ def --wrapped jloof [search: string, ...flags] { alias jlfw = jj log -r "wip()" # Find 'WIP:'-prefixed changes alias jlfp = jj log -r "private()" # Find 'PRIVATE:'-prefixed changes -alias jh = jj log -r 'ancestors(heads(all()), 3)' +alias jlh = jj log -r 'heads(all())' +alias JLH = jj log -r 'ancestors(heads(all()), 3)' alias jrb = jj rebase diff --git a/vcs/jj/config/sh/alias.d/jj.sh b/vcs/jj/config/sh/alias.d/jj.sh index d36e44b..fa9538b 100644 --- a/vcs/jj/config/sh/alias.d/jj.sh +++ b/vcs/jj/config/sh/alias.d/jj.sh @@ -70,7 +70,8 @@ alias jlfw='jj log -r "wip()"' alias jlfp='jj log -r "private()"' # show branches (i.e. head commits) w a couple previous commits -alias jh="jj log -r 'ancestors(heads(all()), 3)'" +alias jlh="jj log -r 'heads(all())'" +alias JLH="jj log -r 'ancestors(heads(all()), 3)'" alias jrb="jj rebase"