bash-it/test
John D Pell 5eab3bd288 lib/helpers: first `shellcheck` pass
Quote things, SC2268, SC2143, SC2181, SC2162, SC2016, SC2013, &c.

Rewrite globbing per `shellcheck`’s SC2013, and alsö s/typeset/local/g. Eliminate `compgen` where possible.

Alsö: use the existing utility functions `_bash-it-get-component-type-from-path` and `_bash-it-get-component-name-from-path`, which just use parameter substitution anyway. Why was `sed` here?

Alsö, don't add not-existing directories to `$PATH` in `pathmunge()`.

Finally, merge PR #1865 from NoahGorny...and clean it a bit...
2022-01-18 11:02:21 -08:00
..
bash_it tests: test_helper already loads `composure.sh` 2022-01-08 08:29:13 -08:00
completion tests: test_helper already loads `composure.sh` 2022-01-08 08:29:13 -08:00
fixtures lib/helpers: first `shellcheck` pass 2022-01-18 11:02:21 -08:00
install Merge pull request #2013 from gaelicWizard/completion/system 2022-01-09 01:13:23 +02:00
lib Merge pull request #2013 from gaelicWizard/completion/system 2022-01-09 01:13:23 +02:00
plugins lib/helpers: first `shellcheck` pass 2022-01-18 11:02:21 -08:00
themes test/theme: make fewer assumptions 2022-01-08 08:29:13 -08:00
lint-requirements.txt ci: Add pre-commit run and remove trailling spaces 2020-10-28 11:51:04 +02:00
run test/run: lint 2022-01-08 08:29:13 -08:00
test_helper.bash test/test-helper: support 'plumbing' metadata 2022-01-08 08:29:13 -08:00
test_helper_libs.bash tests: new file `test_helper_libs.bash` 2022-01-08 08:29:13 -08:00