-
Notifications
You must be signed in to change notification settings - Fork 0
Shell Integration
Tom Planche edited this page Jun 16, 2026
·
3 revisions
Rona ships with a completion subcommand that generates tab-completion scripts for Bash, Fish, Zsh, and PowerShell.
rona completion fish > ~/.config/fish/completions/rona.fishReload with source ~/.config/fish/config.fish or open a new terminal.
Fish gets an extra completion: rona -a <TAB> (as well as rona reset <TAB> and rona restore <TAB>) lists files from git status, so you can interactively pick what to stage, unstage or discard.
rona completion bash >> ~/.bashrc
source ~/.bashrcrona completion zsh >> ~/.zshrc
source ~/.zshrcrona completion powershell | Out-File -Append $PROFILE
. $PROFILEOnce installed, press <TAB> after any partial command or flag:
rona <TAB> # list subcommands
rona -g -<TAB> # list flags for generate
rona -a <TAB> # list staged/unstaged files (Fish only)
rona reset <TAB> # list staged files to unstage (Fish only)
rona restore <TAB> # list changed files to discard (Fish only)
Completions not working after install
- Make sure you reloaded the shell config or opened a new terminal.
- Verify the file was written:
cat ~/.config/fish/completions/rona.fish(Fish) or check the relevant rc file.
Regenerating completions after a Rona update
- Re-run the same setup command to overwrite the old script with the updated one.