fixed bug related to prompt path https://github.com/mxcl/homebrew/issues/23470