fix bash version detect so that it can support zsh
Merge pull request #46 from lepture/bash

fix bash version detect so that it can support zsh