summaryrefslogtreecommitdiffstats
path: root/scripts/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bash_completion')
-rw-r--r--scripts/bash_completion2
1 files changed, 1 insertions, 1 deletions
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 ) )