catkin_tools icon indicating copy to clipboard operation
catkin_tools copied to clipboard

completion: complete to aliases

Open jbohren opened this issue 10 years ago • 2 comments
trafficstars

Currently bash completion doesn't complete to aliases, but this would be useful to have.

jbohren avatar Apr 22 '15 18:04 jbohren

To do this, catkin should have a --list-verbs option, which the completion scripts could call.

jbohren avatar Dec 23 '15 19:12 jbohren

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?

wjwwood avatar Dec 24 '15 02:12 wjwwood