fix bash version detect so that it can support zsh

zsh didn't support `-ge`. This patch will allow zsh to source the rc file.