diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index e2db47ba30..ffd7596416 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -579,7 +579,7 @@ _spack_config() { then SPACK_COMPREPLY="-h --help --scope" else - SPACK_COMPREPLY="get blame edit list" + SPACK_COMPREPLY="get blame edit list add remove rm" fi } @@ -614,6 +614,33 @@ _spack_config_list() { SPACK_COMPREPLY="-h --help" } +_spack_config_add() { + if $list_options + then + SPACK_COMPREPLY="-h --help -f --file" + else + SPACK_COMPREPLY="" + fi +} + +_spack_config_remove() { + if $list_options + then + SPACK_COMPREPLY="-h --help" + else + SPACK_COMPREPLY="" + fi +} + +_spack_config_rm() { + if $list_options + then + SPACK_COMPREPLY="-h --help" + else + SPACK_COMPREPLY="" + fi +} + _spack_configure() { if $list_options then |