diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-29 17:11:09 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-29 17:13:31 +0900 |
| commit | bf515a3d3251c54d04cd8e2e9f422cdd3f789fb8 (patch) | |
| tree | c618a7ed122d2c3174165838f8b8319576513b55 /src/core.go | |
| parent | a06745826a4cba4f578a69258f9def75c59530fc (diff) | |
| download | fzf-bf515a3d3251c54d04cd8e2e9f422cdd3f789fb8.tar.gz | |
Add --walker-path-sep=CHAR to use a different path separator
This is needed when you run a Windows binary on WSL or zsh on Windows
where forward slashes are expected.
export FZF_DEFAULT_OPTS='--walker-path-sep /'
Close #3859
Diffstat (limited to 'src/core.go')
| -rw-r--r-- | src/core.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.go b/src/core.go index caada27c..1dc642f4 100644 --- a/src/core.go +++ b/src/core.go @@ -159,7 +159,7 @@ func Run(opts *Options) (int, error) { // reload or reload-sync action is bound to 'start' event, no need to start the reader eventBox.Set(EvtReadNone, nil) } else { - go reader.ReadSource(opts.Input, opts.WalkerRoot, opts.WalkerOpts, opts.WalkerSkip) + go reader.ReadSource(opts.Input, opts.WalkerRoot, opts.WalkerOpts, opts.WalkerSkip, opts.WalkerSep) } } @@ -212,7 +212,7 @@ func Run(opts *Options) (int, error) { } return false }, eventBox, executor, opts.ReadZero, false) - reader.ReadSource(opts.Input, opts.WalkerRoot, opts.WalkerOpts, opts.WalkerSkip) + reader.ReadSource(opts.Input, opts.WalkerRoot, opts.WalkerOpts, opts.WalkerSkip, opts.WalkerSep) } else { eventBox.Unwatch(EvtReadNew) eventBox.WaitFor(EvtReadFin) |
