Add option "--first" for "spack load" (#15622)

* Implemented --first option for "spack load"

* added test for "spack load --first"

Co-authored-by: gragghia <gragghia@localhost.localdomain>
This commit is contained in:
G-Ragghianti
2020-04-03 16:33:20 -04:00
committed by GitHub
parent 0b99cc2261
commit bae4f91bfe
5 changed files with 35 additions and 8 deletions

View File

@@ -984,7 +984,7 @@ _spack_list() {
_spack_load() {
if $list_options
then
SPACK_COMPREPLY="-h --help -r --dependencies --sh --csh --only"
SPACK_COMPREPLY="-h --help -r --dependencies --sh --csh --first --only"
else
_installed_packages
fi