aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-23 10:43:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-23 10:43:52 +1200
commite6fd21a753a1bafdbb8d2749d4ab68e9a0cbf29b (patch)
tree55d838f3f577633bbf671c84773082fbb0777e1a /bash
parentClarify git branch/commit detection (diff)
downloaddotfiles-e6fd21a753a1bafdbb8d2749d4ab68e9a0cbf29b.tar.gz
dotfiles-e6fd21a753a1bafdbb8d2749d4ab68e9a0cbf29b.zip
Correct comment
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 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