mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 03:35:17 +00:00
15 lines
495 B
Fish
15 lines
495 B
Fish
|
function fish_jj_prompt
|
|||
|
jj log 2>/dev/null --no-graph --ignore-working-copy --color=always --revisions @ \
|
|||
|
--template '
|
|||
|
concat(
|
|||
|
" ",
|
|||
|
separate(" ",
|
|||
|
format_short_change_id_with_hidden_and_divergent_info(self),
|
|||
|
bookmarks,
|
|||
|
tags,
|
|||
|
if(conflict, label("conflict", "×")),
|
|||
|
if(empty, label("empty", "(empty)"))
|
|||
|
),
|
|||
|
)'
|
|||
|
end
|