aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e28b2dda..d981acce 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -124,7 +124,7 @@ prompt() {
# Start collecting working copy state flags
local -a state
- # Safely read status from ``git porcelain''
+ # Safely read status with -0
local line modified untracked
while IFS= read -d $'\0' -r line; do
if [[ $line == '?'* ]]; then