Add fish shell support (#9279)

* share/spack/setup-env.fish file to setup environment in fish shell

* setup-env.fish testing script

* Update share/spack/setup-env.fish

Co-Authored-By: Elsa Gonsiorowski, PhD <gonsie@me.com>

* Update share/spack/qa/setup-env-test.fish

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>

* updates completions using `spack commands --update-completion`

* added stderr-nocaret warning

* added fish shell tests to CI system


Co-authored-by: becker33 <becker33@llnl.gov>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Elsa Gonsiorowski, PhD <gonsie@me.com>
This commit is contained in:
Johannes Blaschke
2020-06-30 12:26:27 -07:00
committed by GitHub
parent 212299a021
commit 1d55adfd2b
10 changed files with 1171 additions and 6 deletions

View File

@@ -25,6 +25,9 @@ check_dependencies $coverage git hg svn
export PATH="$ORIGINAL_PATH"
unset spack
# Convert QA_DIR to absolute path before changing directory
export QA_DIR=$(realpath $QA_DIR)
# Start in the spack root directory
cd "$SPACK_ROOT"
@@ -41,3 +44,6 @@ fi
# Run the test scripts for their output (these will print nicely)
zsh "$QA_DIR/setup-env-test.sh"
dash "$QA_DIR/setup-env-test.sh"
# Run fish tests
fish "$QA_DIR/setup-env-test.fish"