fish-shell/share
Johannes Altmanninger 0debddc9e5 Add a simple fish_jj_prompt
jj is often colocated with Git so the Git prompt also works, but
jj is always in a detached HEAD state, which is atypical for Git.
The jj prompt improves things by showing the revision ID which is
usually more useful than the commit ID.

This prompt is mostly adapted from the defaults for "jj log -r @".

Showing conflicting/empty commits seems useful.
Also perhaps bookmarks and tags, not sure.

The main problem with this prompt is that due to --ignore-working-copy,
the information may be stale.  That will be rectified after every jj
command, so hopefully this doesn't cause issues.
2025-01-03 00:03:58 +01:00
..
completions completions/exercism: use generate script 2025-01-02 21:57:17 +08:00
functions Add a simple fish_jj_prompt 2025-01-03 00:03:58 +01:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools default color scheme: Make commands "normal" color 2024-10-15 21:21:30 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Move generated completions to cache directory 2024-04-27 10:39:30 +02:00