diff --git a/fancy-prompt.sh b/fancy-prompt.sh index ef2f145..8bc27e2 100644 --- a/fancy-prompt.sh +++ b/fancy-prompt.sh @@ -64,7 +64,7 @@ __powerline() { __git_info() { # no .git directory - [ -d .git ] || return + [ -e .git ] || return local aheadN local behindN