Merge pull request #254 from ogr3/quote-fix

Quote fix
master
Martin Gondermann 10 years ago
commit a9d9a56120
  1. 1
      .gitignore
  2. 2
      gitprompt.sh

1
.gitignore vendored

@ -1,2 +1,3 @@
*~ *~
*.bak *.bak
.idea/

@ -482,7 +482,7 @@ function updatePrompt() {
if [[ "x$2" == "x-n" ]] ; then if [[ "x$2" == "x-n" ]] ; then
v="$2 \"\$GIT_$1\"" v="$2 \"\$GIT_$1\""
else else
v="\"\$GIT_$1 $2\"" v="\$GIT_$1 $2"
fi fi
if eval "test $v" ; then if eval "test $v" ; then
if [[ $# -lt 2 || "$3" != '-' ]]; then if [[ $# -lt 2 || "$3" != '-' ]]; then

Loading…
Cancel
Save