Usage: (require 'flymake-shell) (add-hook 'sh-set-shell-hook 'flymake-shell-load) Uses flymake-easy, from https://github.com/purcell/flymake-easy