new rospack command added to bash and zsh tab completion
This commit is contained in:
parent
37c8a9e17b
commit
6097501130
|
@ -436,7 +436,7 @@ function _roscomplete_rospack {
|
|||
arg="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
if [[ $COMP_CWORD == 1 ]]; then
|
||||
opts="help find list list-names langs depends depends-manifests depends1 depends-indent depends-why rosdep rosdep0 vcs vcs0 depends-on depends-on1 export plugins cflags-only-I cflags-only-other libs-only-L libs-only-l libs-only-other profile"
|
||||
opts="help find list list-names list-duplicates langs depends depends-manifests depends1 depends-indent depends-msgsrv depends-why rosdep rosdep0 vcs vcs0 depends-on depends-on1 export plugins cflags-only-I cflags-only-other libs-only-L libs-only-l libs-only-other profile"
|
||||
COMPREPLY=($(compgen -W "$opts" -- ${arg}))
|
||||
else
|
||||
opts=`rospack list-names`
|
||||
|
|
|
@ -235,7 +235,7 @@ function _roscomplete_rosbag {
|
|||
function _roscomplete_rospack {
|
||||
reply=()
|
||||
if [[ ${CURRENT} == 2 ]]; then
|
||||
opts="help find list list-names langs depends depends-manifests depends1 depends-indent depends-why rosdep rosdep0 vcs vcs0 depends-on depends-on1 export plugins cflags-only-I cflags-only-other libs-only-L libs-only-l libs-only-other profile"
|
||||
opts="help find list list-names list-duplicates langs depends depends-manifests depends1 depends-indent depends-msgsrv depends-why rosdep rosdep0 vcs vcs0 depends-on depends-on1 export plugins cflags-only-I cflags-only-other libs-only-L libs-only-l libs-only-other profile"
|
||||
reply=(${=opts})
|
||||
else
|
||||
opts=`rospack list-names`
|
||||
|
|
Loading…
Reference in New Issue