summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 329b9f28ff..876ed0c647 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -853,7 +853,7 @@ _spack_external() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="find"
+ SPACK_COMPREPLY="find list"
fi
}
@@ -866,6 +866,10 @@ _spack_external_find() {
fi
}
+_spack_external_list() {
+ SPACK_COMPREPLY="-h --help"
+}
+
_spack_fetch() {
if $list_options
then