diff options
author | Léa Gris <lea.gris@noiraude.net> | 2021-03-16 00:06:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 00:06:06 +0100 |
commit | 95a06f3927a286db257dc99791b02caba757fe33 (patch) | |
tree | 36ec92edf7351eb1bbe83756358cd788412e50cb /themes | |
parent | 3f34ce4da401a18dc36c95f0c41280b544b02b6a (diff) | |
download | zsh-95a06f3927a286db257dc99791b02caba757fe33.tar.gz zsh-95a06f3927a286db257dc99791b02caba757fe33.tar.bz2 zsh-95a06f3927a286db257dc99791b02caba757fe33.zip |
refactor(installer): fix static analysis warnings (#9529)
* refactor(install.sh): fix static analysis warnings
Clear all warnings and errors raised by shellcheck.net static analysis.
- Replace non-POSIX shell use of `$OSTYPE` by POSIX compliant check on `uname -o`.
- Move variables out of`printf` format string.
- Refactor/simplify string formatters for error and underline.
- Fix expansion of arguments to a single string `$*` rather than individual elements `$@` within the error and underline formatters.
* fix(uname): non-posix -o option
* fix(install.sh): non portable which
Replaced non-portable `which zsh` by portable `command -v zsh`
Diffstat (limited to 'themes')
0 files changed, 0 insertions, 0 deletions