summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorRobert Blake <blake14@llnl.gov>2020-09-05 01:12:26 -0700
committerGitHub <noreply@github.com>2020-09-05 01:12:26 -0700
commitea5717171259fc3ab27d3c681cc2ef29ba560c6e (patch)
tree6d014be24383851dc6e3793c8c99bcda869af6bb /share
parent704fc475e3b303464a8f30b09f305e9a41732d39 (diff)
downloadspack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.gz
spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.bz2
spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.tar.xz
spack-ea5717171259fc3ab27d3c681cc2ef29ba560c6e.zip
Make spack environment configurations writable from spack external and spack compiler find (#18165)
* spack config: default modification scope can be an environment The previous model was that environments are the highest priority config scope for config reading operations, but were not considered for config writing operations. Now, the active environment is the highest priority config scope for both reading and writing operations. Now spack config add, spack external find and spack compiler set environment configuration in the environment by default if an environment is active. This is a change in default behavior for these routines, but better matches the mental model for an environment taking precedence over the user's default config file. * add scope argument to 'spack external find' to choose non-default scope * Increase testing for config modifications on environments Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 876ed0c647..d4b6be2609 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -860,7 +860,7 @@ _spack_external() {
_spack_external_find() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --not-buildable"
+ SPACK_COMPREPLY="-h --help --not-buildable --scope"
else
_all_packages
fi