diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-03-29 17:31:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-29 17:31:24 +0200 |
commit | 8b16728fd97ad063623a26db1d89ac01c5bc706e (patch) | |
tree | 2779b98c143057ef311f602aa33ce14d8edf22b7 /share | |
parent | 3d7069e03954e5a4042d41c27a75dacd33e52696 (diff) | |
download | spack-8b16728fd97ad063623a26db1d89ac01c5bc706e.tar.gz spack-8b16728fd97ad063623a26db1d89ac01c5bc706e.tar.bz2 spack-8b16728fd97ad063623a26db1d89ac01c5bc706e.tar.xz spack-8b16728fd97ad063623a26db1d89ac01c5bc706e.zip |
Add "spack [cd|location] --source-dir" (#22321)
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index a0fea36e21..5829ed653d 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -453,7 +453,7 @@ _spack_buildcache_update_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 -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" else _all_packages fi @@ -1089,7 +1089,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 -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" else _all_packages fi |