Skip to content

Commit

Permalink
Allow overriding walker opts in Invoke-FzfDefaultSystem (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
selfdocumentingcode authored Nov 17, 2024
1 parent 1f9fc13 commit 3f31db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSFzf.Base.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
}

Expand Down

0 comments on commit 3f31db0

Please sign in to comment.