From 1ce852af8f25e3020c53caf765c671d56199b654 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Tue, 17 Nov 2015 11:41:48 +0800 Subject: [PATCH] Fix invalid bash code in auto completion --- extra/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/bash_completion b/extra/bash_completion index 0a2220c..36222d1 100644 --- 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" -- 2.11.0