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 c7e4d10197..b41a21946c 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1382,7 +1382,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
}
@@ -1422,6 +1422,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"
}