Update formatting
This commit uses shfmt
to format the source code.
Using this exact commandline to get the formatting:
shfmt -bn -l -i=4 -ln=bash -w .
It's not perfect, I'm sure there will be some arguments about the formatting but it's consistent