diff options
| author | OpportunityLiu <[email protected]> | 2020-01-21 19:09:46 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2020-01-21 19:09:46 +0800 |
| commit | 504f92e23ac9d6615879ec3037c50d24cccd7bd0 (patch) | |
| tree | a3860318f1ebb5ad42e76d80c598a2f65c24ee0a /scripts | |
| parent | fd4d3885e8bf4653f942c9572899cf9712fd2820 (diff) | |
fix bash completions
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/register-completions.sh | 2 |
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 |
