fix bash tab-complete error

tab-completion requires the extglob shopt

fix #1