summaryrefslogtreecommitdiff
path: root/scripts/register-completions.bash
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/register-completions.bash')
-rw-r--r--scripts/register-completions.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/register-completions.bash b/scripts/register-completions.bash
index 9d5865cd6..18df8a3b7 100644
--- a/scripts/register-completions.bash
+++ b/scripts/register-completions.bash
@@ -5,7 +5,7 @@ _xmake_bash_complete()
local word=${COMP_WORDS[COMP_CWORD]}
local completions
- completions="$(XMAKE_SKIP_HISTORY=1 xmake lua private.utils.complete "${COMP_POINT}" "${COMP_LINE}" 2>/dev/null)"
+ completions="$(XMAKE_SKIP_HISTORY=1 xmake lua --root private.utils.complete "${COMP_POINT}" "conf" "${COMP_LINE}" 2>/dev/null)"
if [ $? -ne 0 ]; then
completions=""
fi