diff options
author | Ben Bergen <bergen@lanl.gov> | 2020-05-13 12:02:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 12:02:38 -0600 |
commit | 37e307e8cde4009950b1feb8a53d33fb3b1fa571 (patch) | |
tree | f7b0125facb2cd6d073688189652bbb327227ebb /share/spack/bash | |
parent | f294c264a10364caa33b2ec4d00aa196d5af6b67 (diff) | |
download | spack-37e307e8cde4009950b1feb8a53d33fb3b1fa571.tar.gz spack-37e307e8cde4009950b1feb8a53d33fb3b1fa571.tar.bz2 spack-37e307e8cde4009950b1feb8a53d33fb3b1fa571.tar.xz spack-37e307e8cde4009950b1feb8a53d33fb3b1fa571.zip |
Added alias and bash completion for spacktivate (#16472)
Diffstat (limited to 'share/spack/bash')
-rwxr-xr-x | share/spack/bash/spack-completion.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/spack/bash/spack-completion.in b/share/spack/bash/spack-completion.in index 164fc5c5b3..80ba94ed87 100755 --- a/share/spack/bash/spack-completion.in +++ b/share/spack/bash/spack-completion.in @@ -304,6 +304,13 @@ _pretty_print() { complete -o bashdefault -o default -F _bash_completion_spack spack +# Completion for spacktivate +complete -o bashdefault -o default -F _bash_completion_spack spacktivate + +_spacktivate() { + _spack_env_activate +} + # Spack commands # # Everything below here is auto-generated. |