bash: Fix prompt not show problem on old version bash(pre 4.0)