From a5c534b86d752e098a69c39e613a42d36df5b309 Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Tue, 21 Apr 2020 13:50:26 -0700 Subject: [PATCH] update bash completion --- share/spack/spack-completion.bash | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 56c5c4a82ea..32e57706822 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1469,7 +1469,7 @@ _spack_test() { then SPACK_COMPREPLY="-h --help" else - SPACK_COMPREPLY="run list status results" + SPACK_COMPREPLY="run list status results remove" fi } @@ -1509,6 +1509,15 @@ _spack_test_results() { fi } +_spack_test_remove() { + if $list_options + then + SPACK_COMPREPLY="-h --help" + else + SPACK_COMPREPLY="" + fi +} + _spack_test_env() { if $list_options then