From ead4a3a2bbefecaf7ea9fc34e35165a598e698f9 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 25 Nov 2024 16:40:51 -0600 Subject: [PATCH] explain alias --- home/private_dot_config/private_jj/config.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/private_dot_config/private_jj/config.toml b/home/private_dot_config/private_jj/config.toml index a23ec72..2406353 100644 --- a/home/private_dot_config/private_jj/config.toml +++ b/home/private_dot_config/private_jj/config.toml @@ -21,4 +21,8 @@ format = "git" [aliases] wip = ["ci", "-m", "wip"] la = ["log", "-r", "all()"] -bsm = ["bookmark", "set", "main", "-r", "latest(~empty())"] +bsm = [ + "bookmark", "set", "main", "-r", + # first non-empty change from current revset + "latest(::@ & ~empty())" +]