Revert "Separable module configurations (#22588)" (#23674)

This reverts commit cefbe48c89.
This commit is contained in:
Harmen Stoppels
2021-05-17 15:42:48 +02:00
committed by GitHub
parent 213ef656c5
commit 8446bebdd9
34 changed files with 209 additions and 522 deletions

View File

@@ -858,7 +858,7 @@ _spack_env_st() {
_spack_env_loads() {
if $list_options
then
SPACK_COMPREPLY="-h --help -n --module-set-name -m --module-type --input-only -p --prefix -x --exclude -r --dependencies"
SPACK_COMPREPLY="-h --help -m --module-type --input-only -p --prefix -x --exclude -r --dependencies"
else
_environments
fi
@@ -1218,7 +1218,7 @@ _spack_module() {
_spack_module_lmod() {
if $list_options
then
SPACK_COMPREPLY="-h --help -n --name"
SPACK_COMPREPLY="-h --help"
else
SPACK_COMPREPLY="refresh find rm loads setdefault"
fi
@@ -1272,7 +1272,7 @@ _spack_module_lmod_setdefault() {
_spack_module_tcl() {
if $list_options
then
SPACK_COMPREPLY="-h --help -n --name"
SPACK_COMPREPLY="-h --help"
else
SPACK_COMPREPLY="refresh find rm loads"
fi