From 3f31db0367a4865378cc9f667dd3f679d2590c6f Mon Sep 17 00:00:00 2001 From: Bob Loblaw Date: Sun, 17 Nov 2024 03:19:00 +0100 Subject: [PATCH] Allow overriding walker opts in Invoke-FzfDefaultSystem (#275) --- PSFzf.Base.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSFzf.Base.ps1 b/PSFzf.Base.ps1 index 18c897c..332ca90 100644 --- a/PSFzf.Base.ps1 +++ b/PSFzf.Base.ps1 @@ -633,7 +633,7 @@ function Invoke-FzfDefaultSystem { if ($script:UseFd -and $script:RunningInWindowsTerminal -and -not $script:OverrideFzfDefaultOpts.Get().Contains('--ansi')) { $arguments += "--ansi " } - if ($script:UseWalker) { + if ($script:UseWalker -and -not $script:OverrideFzfDefaultOpts.Get().Contains('--walker')) { $arguments += "--walker=file,dir " }