From 504f92e23ac9d6615879ec3037c50d24cccd7bd0 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Tue, 21 Jan 2020 19:09:46 +0800 Subject: fix bash completions --- scripts/register-completions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.3.1