fix(nushell): disable sort in completion options

This commit is contained in:
Zhaosheng Pan committed 2026-08-09 18:49:21 +08:00
1 parent afda9262d0
commit 99d48a0bd1
1 file changed
+2 -1
+2 -1
View File
@@ -2873,8 +2873,9 @@ local script_complete_nushell = [[
export def "nu-complete zlua" [context: string] {
{
options: {
completion_algorithm: "fuzzy",
completion_algorithm: "fuzzy"
case_sensitive: false
sort: false
}
completions: (
(^$env.ZLUA_LUAEXE $env.ZLUA_SCRIPT --complete $context | lines) | where {|x| $x != $env.PWD}