summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 62829d474a..3a35fa71a4 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -587,7 +587,7 @@ _spack_config() {
then
SPACK_COMPREPLY="-h --help --scope"
else
- SPACK_COMPREPLY="get blame edit list add remove rm update revert"
+ SPACK_COMPREPLY="get blame edit list add prefer-upstream remove rm update revert"
fi
}
@@ -631,6 +631,10 @@ _spack_config_add() {
fi
}
+_spack_config_prefer_upstream() {
+ SPACK_COMPREPLY="-h --help --local"
+}
+
_spack_config_remove() {
if $list_options
then