Install
Cargo
cargo install starship
Extensions
starship-jj
Jujutsu integration for Starship.
Install
Use binstall
cargo binstall starship-jj
Use
Add the following entry to (the end of) your starship.toml
:
[custom.jj]
command = "prompt"
format = "$output"
ignore_timeout = true
shell = ["starship-jj", "--ignore-working-copy", "starship"]
use_stdin = false
when = true
Then add it using ${custom.jj}
to your prompt’s format
entry.
Example
format=""" [...] ${custom.jj}\ [...] """