From 8d70ea0c63b288af1eab1a0815a29349cd37f86d Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Tue, 11 Dec 2012 11:37:29 +0100 Subject: bash_completion: fix completion for 'clean' Signed-off-by: Michael Olbrich --- scripts/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bash_completion b/scripts/bash_completion index ea3921d58..7ca9c9694 100644 --- a/scripts/bash_completion +++ b/scripts/bash_completion @@ -111,7 +111,7 @@ _ptxdist_completion() [ ${#args[@]} -lt 1 ] && _filedir ;; clean) - COMPREPLY=( root ) + COMPREPLY=( $( compgen -W root -- $cur ) ) ;& get|extract|prepare|compile|install|targetinstall|tags) COMPREPLY+=( $( compgen -W "$( $_ptxdist_cmd print PTX_PACKAGES_SELECTED 2> /dev/null)" -- $cur ) ) -- cgit v1.2.3