Command Execution
jjui can execute both jj commands and shell commands directly from the UI.
Entry keys
Section titled “Entry keys”:: execute ajjcommand$: execute a shell command
Both inputs are entered in the status bar line editor.
Placeholders
Section titled “Placeholders”Commands can use context-aware placeholders:
$file: currently selected file$change_id: selected revision change ID$commit_id: selected revision commit ID$operation_id: selected operation ID$revset: current revset expression$checked_commit_ids: selected revision commit IDs (as a revset expression)$checked_files: selected file paths
Behavior
Section titled “Behavior”- Commands run interactively in your terminal.
- If a command fails, jjui restores it in the input so you can edit and retry.
- History is stored under
$XDG_CACHE_HOME/jjui/history/inexec_jjandexec_shfiles.
You can browse and delete saved entries from Command History (shift+w).
Example
Section titled “Example”: diff -r $change_id --git$ git log --oneline