summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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