added shellcheck and fixed all the things
Merge pull request #2 from caarlos0/shellcheck

added shellcheck and fixed all the things