From 9e9cb7e5220c8d910110f5ab093af66bac2c9710 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 8 Jun 2025 18:10:03 +0300 Subject: [PATCH] jujutsu: add undo alias --- modules/common/jujutsu.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/common/jujutsu.nix b/modules/common/jujutsu.nix index 05405ec..dbc973d 100644 --- a/modules/common/jujutsu.nix +++ b/modules/common/jujutsu.nix @@ -63,6 +63,8 @@ in { aliases.tug = [ "bookmark" "move" "--from" "closest(@-)" "--to" "closest_pushable(@)" ]; aliases.t = [ "tug" ]; + aliases.u = [ "undo" ]; + revset-aliases."closest(to)" = "heads(::to & bookmarks())"; revset-aliases."closest_pushable(to)" = "heads(::to & ~description(exact:\"\") & (~empty() | merges()))";