summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2020-01-21 19:09:46 +0800
committerOpportunityLiu <[email protected]>2020-01-21 19:09:46 +0800
commit504f92e23ac9d6615879ec3037c50d24cccd7bd0 (patch)
treea3860318f1ebb5ad42e76d80c598a2f65c24ee0a /scripts
parentfd4d3885e8bf4653f942c9572899cf9712fd2820 (diff)
fix bash completions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/register-completions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/register-completions.sh b/scripts/register-completions.sh
index 2d2ea9e64..9b00e715b 100644
--- a/scripts/register-completions.sh
+++ b/scripts/register-completions.sh
@@ -15,7 +15,7 @@ elif [[ "$SHELL" = */bash ]]; then
{
local word=${COMP_WORDS[COMP_CWORD]}
local completions
- completions="$(XMAKE_SKIP_HISTORY=1 xmake lua --root private.utils.complete "${COMP_POINT}" "conf" "${COMP_LINE}" 2>/dev/null)"
+ completions="$(XMAKE_SKIP_HISTORY=1 xmake lua --root private.utils.complete "${COMP_POINT}" "nospace-nokey" "${COMP_LINE}" 2>/dev/null)"
if [ $? -ne 0 ]; then
completions=""
fi