bash-it/lib
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
..
appearance.bash lib: Move _has_colors to log module 2020-07-02 20:13:42 +03:00
helpers.bash lib/helpers: first `shellcheck` pass 2022-01-18 11:02:21 -08:00
log.bash lib/log: function `_bash-it-log-prefix-by-path()` 2022-01-09 00:49:44 -08:00
preview.bash lib/preview: handle unbound parameter 2021-08-26 14:11:41 -07:00
search.bash Use `_bash-it-egrep()` 2021-10-18 22:08:56 -04:00
utilities.bash lib/utilities: Use variable indirection 2022-01-09 00:53:39 -08:00