diff --git a/zsh/ohmyzsh/themes/tforgione.zsh-theme b/zsh/ohmyzsh/themes/tforgione.zsh-theme index 20c412e..da25a5b 100644 --- a/zsh/ohmyzsh/themes/tforgione.zsh-theme +++ b/zsh/ohmyzsh/themes/tforgione.zsh-theme @@ -79,14 +79,14 @@ fi git_prompt_info_no_space() { current="$PWD" while [ "$PWD" != "/" ] && [ ! -d "$PWD/.git" ]; do - cd .. + builtin cd .. done if [ -f "$PWD/.gitskipprompt" ]; then return fi - cd "$current" + builtin cd "$current" local info=$(git_prompt_info) if [ ! -z $info ]; then echo " $info"