summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt b/prompt
index 428a892..85462e6 100755
--- a/prompt
+++ b/prompt
@@ -251,7 +251,7 @@ PROMPT_COMMAND='
git_dir=`git-rev-parse --git-dir 2> /dev/null`
if [[ $git_dir ]]; then
- eval `git status |
+ eval `git status 2>/dev/null |
sed -n "
s/^# On branch /branch=/p