From 461d7772b0c55bcc9f04d76bd18a92fa1f818cfc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 14 Aug 2016 14:47:14 +1200 Subject: Quote a PS1 character to appease shellcheck --- bash/bashrc.d/prompt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d') 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}^ -- cgit v1.2.3