diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc/common/prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc/common/prompt.sh b/bashrc/common/prompt.sh index f0eb9c8..a2b98a4 100644 --- a/bashrc/common/prompt.sh +++ b/bashrc/common/prompt.sh @@ -47,7 +47,7 @@ ps_scm_f() { s="$(color yellow)r$r$(color red)$(svn status | grep -q -v '^?' && echo -n "*" )" else local d=$(git rev-parse --git-dir 2>/dev/null ) b= r= a= - if [[ -n "${d}" && ! -f "${d}/../.promptignore" ]] ; then + if [[ -n "${d}" && "${d}" != "." && ! -f "${d}/../.promptignore" ]] ; then if [[ -d "${d}/../.dotest" ]] ; then if [[ -f "${d}/../.dotest/rebase" ]] ; then r="rebase" |