Installation
Prerequisites
- Python 3.6+
- colcon-core (installed with ROS 2)
- fish shell 3.0+
Install from source
git clone https://github.com/sunrisepeak/colcon-fish.git
cd colcon-fish
pip install -e .
On Ubuntu with system Python, add --break-system-packages:
pip install -e . --break-system-packages
Verify installation
python3 -c "from colcon_fish.shell.fish import FishShell; print('OK')"
Check that fish appears in the registered shell extensions:
python3 -c "
from colcon_core.shell import get_shell_extensions
for p, exts in get_shell_extensions().items():
for name in exts:
print(f' {name} (priority={p})')
"
Expected output includes:
fish (priority=200)
sh (priority=200)
Uninstall
pip uninstall colcon-fish