add jjbm script to get latest bookmark

This commit is contained in:
Andrew Lee
2024-12-28 18:16:22 -07:00
parent 099c3f209e
commit a9b7c5aa4d
4 changed files with 31 additions and 24 deletions

View File

@@ -0,0 +1,3 @@
function jjbm
jj log -r 'heads(::@ & bookmarks())' --ignore-working-copy --template 'bookmarks' --no-graph | head -n1 | cut -d " " -f1
end