From 64ec52867721a137c63718394e2cb3ae97817943 Mon Sep 17 00:00:00 2001 From: Masataro Asai Date: Mon, 11 Jan 2016 14:39:56 +0900 Subject: [PATCH] status --- etc/bash-completion.d/ros | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/bash-completion.d/ros b/etc/bash-completion.d/ros index c7b623c..9d96a0c 100755 --- a/etc/bash-completion.d/ros +++ b/etc/bash-completion.d/ros @@ -39,6 +39,9 @@ _ros() COMPREPLY=( $(compgen -A file -o filenames -- ${cur}) ) ;; install|config|help|use|list|dump|delete) # espects these commands output completion candidates to the stdout + # quality: + # WORKS WELL: install (impl names) + # NOT: config, help, use, list, dump, delete COMPREPLY=( $(compgen -W "$(ros $prev 2> /dev/null)" -- ${cur}) ) ;; *) if [[ $cur == [+-]* ]]