projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f79da7
)
Fix invalid bash code in auto completion
author
Frederic Massart
<fred@moodle.com>
Tue, 17 Nov 2015 03:41:48 +0000
(11:41 +0800)
committer
Frederic Massart
<fred@moodle.com>
Tue, 17 Nov 2015 03:41:48 +0000
(11:41 +0800)
extra/bash_completion
patch
|
blob
|
history
diff --git
a/extra/bash_completion
b/extra/bash_completion
index
0a2220c
..
36222d1
100644
(file)
--- a/
extra/bash_completion
+++ b/
extra/bash_completion
@@
-186,7
+186,7
@@
function _mdk() {
fi
;;
pull)
- if [[ "$
{PREV}" == "-m" ]] || "${PREV}" == "--mode"
; then
+ if [[ "$
PREV" == "-m" || "$PREV" == "--mode" ]]
; then
OPTS="checkout fetch integration pull testing"
else
OPTS="--fetch-only --integration --no-merge --testing --mode --prompt"