diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:47:14 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:47:14 +1200 |
commit | 461d7772b0c55bcc9f04d76bd18a92fa1f818cfc (patch) | |
tree | e2d11ad1fda3dfbd579edcbdc673e8fa0ef2c337 | |
parent | Don't install raw .sed scripts in ~/.local/bin (diff) | |
download | dotfiles-461d7772b0c55bcc9f04d76bd18a92fa1f818cfc.tar.gz dotfiles-461d7772b0c55bcc9f04d76bd18a92fa1f818cfc.zip |
Quote a PS1 character to appease shellcheck
-rw-r--r-- | bash/bashrc.d/prompt.bash | 2 |
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}^ |