Skip to content

Commit a9d9a56

Browse files
committed
Merge pull request #254 from ogr3/quote-fix
Quote fix
2 parents 093734c + 9a6f9cb commit a9d9a56

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*~
22
*.bak
3+
.idea/

gitprompt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ function updatePrompt() {
482482
if [[ "x$2" == "x-n" ]] ; then
483483
v="$2 \"\$GIT_$1\""
484484
else
485-
v="\"\$GIT_$1 $2\""
485+
v="\$GIT_$1 $2"
486486
fi
487487
if eval "test $v" ; then
488488
if [[ $# -lt 2 || "$3" != '-' ]]; then

0 commit comments

Comments
 (0)