fixed using local keyword out of function
Merge branch 'master' of https://github.com/wanghaidong/dotfiles
merge latest master branch