Enable specifying pwsh as a command

This commit is contained in:
KITAGAWA Yasutaka 2026-03-14 09:12:02 +09:00
parent 88541ca997
commit 8d37d58124
No known key found for this signature in database
GPG key ID: EF503E87E8731A87

View file

@ -63,7 +63,7 @@ fn prompt_finder(
let exe = fs::exe_string();
let preview = if CONFIG.shell().contains("powershell") {
let preview = if CONFIG.shell().contains("powershell") || CONFIG.shell().contains("pwsh") {
format!(
r#"{exe} preview-var {{+}} "{{q}}" "{name}"; {extra}"#,
exe = exe,