diff options
Diffstat (limited to 'share/spack/bash/spack-completion.in')
-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. |