WeSearch

jjj

Akshay Oppiliappan· ·2 min read · 0 reactions · 0 comments · 3 views

oppiliappan's μsings

Original article
oppi.li · Akshay Oppiliappan
Read full at oppi.li →
Opening excerpt (first ~120 words) tap to expand

jjj2 min·41 sentences·65.03 cm·28.04.2026Several jujutsu commands require a revset. When I am hacking on a project, I tend to poke at multiple stacks simultaneously. Many of these stacks use a generated bookmark name. Identifying them becomes a bit tricky after a while, so I've created a little script with fzf, called jjj (jujutsu jump i suppose), to help me select revsets: cmd="${1:-show}" shift selected=$( jj log -r 'all()' --color=always \ | fzf \ --min-height=15 \ --cycle \ --ansi \ --prompt "jj $cmd> " ) || exit 0 rev=$(echo "$selected" | awk '{for(i=1;i<=NF;i++) if(length($i)>=7){print $i; exit}}') jj "$cmd" -r "$rev" "$@" jjj is exactly like jj, except your revset selection happens inside fzf. Every other arg is just passed straight through.

Excerpt limited to ~120 words for fair-use compliance. The full article is at oppi.li.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from oppi.li