From c7817348618fbc7eedadb3ba56e4784ec12dd4af Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Sun, 12 Apr 2026 20:50:44 +0800 Subject: Use same suggestion format for PowerShell as Zsh --- mingling_core/src/asset/comp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mingling_core/src') diff --git a/mingling_core/src/asset/comp.rs b/mingling_core/src/asset/comp.rs index c2e6970..c1c7ab5 100644 --- a/mingling_core/src/asset/comp.rs +++ b/mingling_core/src/asset/comp.rs @@ -93,8 +93,8 @@ impl CompletionHelper { Suggest::Suggest(suggestions) => { trace!("rendering {} suggestions", suggestions.len()); match ctx.shell_flag { - ShellFlag::Zsh => { - trace!("using zsh format"); + ShellFlag::Zsh | ShellFlag::Powershell => { + trace!("using zsh/pwsh format"); print_suggest_with_description(suggestions) } ShellFlag::Fish => { -- cgit