Permalink
Browse files

fix test for __git_ps1

  • Loading branch information...
1 parent 1001462 commit 29750104c7611041eaa81f4ccff15974f243be88 @stesla committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 home/.bashrc
View
@@ -63,7 +63,7 @@ if [ -d "/usr/local/etc/bash_completion.d" ]; then
done
fi
-if type -t __git_ps1; then
+if (builtin type -t __git_ps1 > /dev/null); then
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWSTASHSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true

0 comments on commit 2975010

Please sign in to comment.