aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index feae7833..a0711d26 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -122,7 +122,7 @@ prompt() {
if [[ -n $(git ls-files --others --exclude-standard) ]] ; then
state=${state}?
fi
- if git rev-parse --verify refs/stash >/dev/null 2>&1 ; then
+ if git rev-parse --quiet --verify refs/stash >/dev/null ; then
state=${state}^
fi