• Léa Gris's avatar
    refactor(installer): fix static analysis warnings (#9529) · 95a06f39
    Léa Gris authored
    * 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`
    95a06f39
Name
Last commit
Last update
.github Loading commit data...
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitpod.Dockerfile Loading commit data...
.gitpod.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
oh-my-zsh.sh Loading commit data...