summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash11
1 files changed, 10 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index aef01fe8a1..ae2b2e5b2f 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1373,7 +1373,7 @@ _spack_module_tcl() {
then
SPACK_COMPREPLY="-h --help -n --name"
else
- SPACK_COMPREPLY="refresh find rm loads"
+ SPACK_COMPREPLY="refresh find rm loads setdefault"
fi
}
@@ -1413,6 +1413,15 @@ _spack_module_tcl_loads() {
fi
}
+_spack_module_tcl_setdefault() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help"
+ else
+ _installed_packages
+ fi
+}
+
_spack_monitor() {
SPACK_COMPREPLY="-h --help --monitor --monitor-save-local --monitor-no-auth --monitor-tags --monitor-keep-going --monitor-host --monitor-prefix"
}