补全项排序
- 当你导入
PSCompletions之后,触发的所有补全默认都带有自动排序 - 它会根据命令历史记录动态排序补全项
- 命令历史记录使用 PSReadLine 的
(Get-PSReadLineOption).HistorySavePath
- 命令历史记录使用 PSReadLine 的
- 你可以使用
psc menu config enable_completions_sort 0关闭它
PSCompletions 之后,触发的所有补全默认都带有自动排序(Get-PSReadLineOption).HistorySavePathpsc menu config enable_completions_sort 0 关闭它