aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/prompt.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:47:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:47:14 +1200
commit461d7772b0c55bcc9f04d76bd18a92fa1f818cfc (patch)
treee2d11ad1fda3dfbd579edcbdc673e8fa0ef2c337 /bash/bashrc.d/prompt.bash
parentDon't install raw .sed scripts in ~/.local/bin (diff)
downloaddotfiles-461d7772b0c55bcc9f04d76bd18a92fa1f818cfc.tar.gz
dotfiles-461d7772b0c55bcc9f04d76bd18a92fa1f818cfc.zip
Quote a PS1 character to appease shellcheck
Diffstat (limited to 'bash/bashrc.d/prompt.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 b4716650..b5ac74b1 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -124,7 +124,7 @@ prompt() {
state=${state}+
fi
if [[ -n $(git ls-files --others --exclude-standard) ]] ; then
- state=${state}?
+ state=${state}\?
fi
if git rev-parse --quiet --verify refs/stash >/dev/null ; then
state=${state}^