3 Fish shell
Théo Daron edited this page 2024-05-24 20:00:07 +02:00

Completions

For setting up basic completions, see https://martinvonz.github.io/jj/latest/install-and-setup/#command-line-completion

For more dynamic completions (e.g. branch names), you can try out this additional completion script: https://gist.github.com/bnjmnt4n/9f47082b8b6e6ed2b2a805a1516090c8

There's also a simpler option using fzf, allowing you to press Ctrl+K in the middle of a command to open fzf picker to select a revision by description/branch name and insert its id in the command. https://gist.github.com/tdaron/f5d0985687d8aed06714c8901dfb5fcb

Prompt

https://gist.github.com/hroi/d0dc0e95221af858ee129fd66251897e/