Use shellcheck in sh-mode

assuming you've run the script in bin/ to install it for your user.

Yay for the prog-mode hook!