summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorG-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com>2023-05-10 06:26:29 -0400
committerGitHub <noreply@github.com>2023-05-10 12:26:29 +0200
commitebb40ee0d185d6ae3aa2258f4594933976c7099b (patch)
tree32910f4d616b3640a39c8742ec8082ee7a61b637 /share
parenta2ea30aceb6b09d48d4a0c76bbadaf9bff1a5437 (diff)
downloadspack-ebb40ee0d185d6ae3aa2258f4594933976c7099b.tar.gz
spack-ebb40ee0d185d6ae3aa2258f4594933976c7099b.tar.bz2
spack-ebb40ee0d185d6ae3aa2258f4594933976c7099b.tar.xz
spack-ebb40ee0d185d6ae3aa2258f4594933976c7099b.zip
New option "--first" for "spack location" (#36283)
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 320e6fab57..0db940129a 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -590,7 +590,7 @@ _spack_buildcache_rebuild_index() {
_spack_cd() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -m --module-dir -r --spack-root -i --install-dir -p --package-dir -P --packages -s --stage-dir -S --stages --source-dir -b --build-dir -e --env"
+ SPACK_COMPREPLY="-h --help -m --module-dir -r --spack-root -i --install-dir -p --package-dir -P --packages -s --stage-dir -S --stages --source-dir -b --build-dir -e --env --first"
else
_all_packages
fi
@@ -1243,7 +1243,7 @@ _spack_load() {
_spack_location() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -m --module-dir -r --spack-root -i --install-dir -p --package-dir -P --packages -s --stage-dir -S --stages --source-dir -b --build-dir -e --env"
+ SPACK_COMPREPLY="-h --help -m --module-dir -r --spack-root -i --install-dir -p --package-dir -P --packages -s --stage-dir -S --stages --source-dir -b --build-dir -e --env --first"
else
_all_packages
fi