sh checker: extract out some logic into functions
sh checker: extract out some logic into functions

wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup,nikmartin/dotfiles,wezhang/vim-setup,wezhang/vim-setup,wezhang/vim-setup