1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

feat: update jj aliases

This commit is contained in:
RGBCube 2025-05-15 21:30:07 +03:00
parent 840261f61f
commit 75f3a132e2
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -42,15 +42,17 @@ in {
aliases.d = [ "diff" ]; aliases.d = [ "diff" ];
aliases.l = [ "log" ]; aliases.l = [ "log" ];
aliases.ls = [ "log" "--summary" ];
aliases.la = [ "log" "--revisions" "::" ];
aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ]; aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ];
revset-aliases."closest(to)" = "heads(::to & bookmarks())"; revset-aliases."closest(to)" = "heads(::to & bookmarks())";
revset-aliases."closest_pushable(to)" = "heads(::to & ~description(exact:\"\") & (~empty() | merges()))"; revset-aliases."closest_pushable(to)" = "heads(::to & ~description(exact:\"\") & (~empty() | merges()))";
revsets.log = "present(@) | present(trunk()) | ancestors(remote_bookmarks().., 2) | reachable(@, all())"; revsets.log = "present(@) | present(trunk()) | ancestors(remote_bookmarks().. | @.., 8)";
ui.default-command = "status"; ui.default-command = "ls";
ui.diff-editor = ":builtin"; ui.diff-editor = ":builtin";
ui.diff.tool = [ "${getExe pkgs.difftastic}" "--color" "always" "$left" "$right" ]; ui.diff.tool = [ "${getExe pkgs.difftastic}" "--color" "always" "$left" "$right" ];