summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-01-15 17:57:26 +0800
committerOpportunity <[email protected]>2020-01-15 17:57:26 +0800
commit741857e2c91b67b75e763b17ccdc6909bbc41709 (patch)
tree54ff0fd92fa501418fa076fe2c6a3a5ce1786706 /scripts
parent35126b5a38e9833d16c785afe2beab9d87cc3bc2 (diff)
fix complete
Diffstat (limited to 'scripts')
-rw-r--r--scripts/register-completions.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/register-completions.ps1 b/scripts/register-completions.ps1
index bae3281f8..f7e3e5da4 100644
--- a/scripts/register-completions.ps1
+++ b/scripts/register-completions.ps1
@@ -8,7 +8,7 @@ Register-ArgumentCompleter -Native -CommandName xmake -ScriptBlock {
}
$oldenv = $env:XMAKE_SKIP_HISTORY
$env:XMAKE_SKIP_HISTORY = 1
- xmake lua private.utils.complete "0" "$complete" | ForEach-Object {
+ xmake lua private.utils.complete "0" "nospace" "$complete" | ForEach-Object {
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
}
$env:XMAKE_SKIP_HISTORY = $oldenv