Format shell scripts with shfmt

This commit is contained in:
2020-05-23 21:36:17 +01:00
parent a34e2d370e
commit cdef65ae53
30 changed files with 219 additions and 211 deletions

View File

@@ -3,7 +3,7 @@ set -e
PREFIX="/opt/zsh"
help() {
show-help() {
echo "usage: ./install-zsh.sh <VERSION>"
}
@@ -24,14 +24,14 @@ install() {
deps() {
sudo apt-get update
sudo apt-get install -y \
build-essential
build-essential
}
main() {
local command="$1"
if [ -z "$command" ]; then
echo "$(help)" 1>&2
show-help 1>&2
exit 1
fi