fish-shell/share
Johannes Altmanninger 0debddc9e5
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
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
tools default color scheme: Make commands "normal" color 2024-10-15 21:21:30 +02:00
__fish_build_paths.fish.in
config.fish Move generated completions to cache directory 2024-04-27 10:39:30 +02:00