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
When installed from source, manual binary installation or a non-supporting install method, you can setup completions using the downloaded binary as follows.
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: