Shell Completions
Once installed, pressing Tab expands subcommands, flags, and dataset names from both your local cache and all configured remote registries.
Packages
If you installed Marina via the AUR, the Homebrew tap or non-ROS deb package (PPA), completion scripts get automatically installed.
Setup
To detect the current shell and install self-refreshing completions for the current user, run:
Restart the shell afterward. This supports Bash, Zsh, Fish, Elvish, and PowerShell.
For packaging, a system-wide installation, or an unsupported installer, pass the shell explicitly to print a completion script:
No Completions for ROS 2
Proper completions are only supported with the marina binary without ros2 bag.
After installing, reload your shell or source the completion file:
Add the following lines to your ~/.zshrc before the compinit call:
Dataset Name Completion
Marina completes dataset names for pull, push, resolve, export, and rm.
Completions are always instant and get refreshed automatically in the background:
- When the index is missing or older than
completion_cache_ttl_secs(default 10 minutes) - After every
marina push - After
marina registry addormarina registry rm
You can also trigger a manual refresh at any time: