diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-24 19:28:20 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2020-01-24 17:28:20 -0800 |
commit | dcd8d7a620ad247daf0da771ea22859f9e651ca6 (patch) | |
tree | 0309d80d46fe370de63060589636c7db3263682b /share/spack/bash | |
parent | 12a261523e2d3d21c8ea98eddee581a9fdd4a3ce (diff) | |
download | spack-dcd8d7a620ad247daf0da771ea22859f9e651ca6.tar.gz spack-dcd8d7a620ad247daf0da771ea22859f9e651ca6.tar.bz2 spack-dcd8d7a620ad247daf0da771ea22859f9e651ca6.tar.xz spack-dcd8d7a620ad247daf0da771ea22859f9e651ca6.zip |
Add spack config list command for tab completion (#14474)
* Add spack config list command for tab completion
* Update tab completion scripts
Diffstat (limited to 'share/spack/bash')
-rwxr-xr-x | share/spack/bash/spack-completion.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/bash/spack-completion.in b/share/spack/bash/spack-completion.in index 2ab39a57a3..ca15b8dfb2 100755 --- a/share/spack/bash/spack-completion.in +++ b/share/spack/bash/spack-completion.in @@ -218,7 +218,7 @@ _keys() { _config_sections() { if [[ -z "${SPACK_CONFIG_SECTIONS:-}" ]] then - SPACK_CONFIG_SECTIONS="compilers mirrors repos packages modules config upstreams" + SPACK_CONFIG_SECTIONS="$(spack config list)" fi SPACK_COMPREPLY="$SPACK_CONFIG_SECTIONS" } |