catkin_tools
catkin_tools copied to clipboard
completion: complete to aliases
trafficstars
Currently bash completion doesn't complete to aliases, but this would be useful to have.
To do this, catkin should have a --list-verbs option, which the completion scripts could call.
Wouldn't you just need catkin --list-aliases and then a catkin --expand-aliases <args> which returns the expanded args?
For example, if you had the alias b: build -v and you did catkin b <tab><tab> should it expand that to build -v on the input line or just give the available build verb options?