From 40ef2f62bbc21ec8408bb8fb1397fb4d534c8467 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 10 May 2025 00:13:04 +0300 Subject: [PATCH] feat: jj d, jj f[etch] --- modules/common/jujutsu.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/common/jujutsu.nix b/modules/common/jujutsu.nix index 791d76c..0e2f866 100644 --- a/modules/common/jujutsu.nix +++ b/modules/common/jujutsu.nix @@ -25,8 +25,11 @@ in { aliases.".." = [ "edit" "@-" ]; aliases.",," = [ "edit" "@+" ]; - aliases.pull = [ "git" "fetch" ]; + aliases.fetch = [ "git" "fetch" ]; + aliases.f = [ "git" "fetch" ]; + aliases.push = [ "git" "push" ]; + aliases.p = [ "git" "push" ]; aliases.clone = [ "git" "clone" "--colocate" ]; aliases.cl = [ "git" "clone" "--colocate" ]; @@ -43,7 +46,9 @@ in { aliases.s = "squash"; aliases.si = [ "squash" "--interactive" ]; - aliases.tug = ["bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-"]; + aliases.d = "diff"; + + aliases.tug = [ "bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-" ]; revset-aliases."closest_bookmark(to)" = "heads(::to & bookmarks())";