diff --git a/src/finder/mod.rs b/src/finder/mod.rs index e31b005..455342f 100644 --- a/src/finder/mod.rs +++ b/src/finder/mod.rs @@ -142,9 +142,8 @@ impl FinderChoice { } if let Some(o) = opts.overrides { - o.as_str() - .split(' ') - .map(|s| s.to_string()) + shellwords::split(&o)? + .into_iter() .filter(|s| !s.is_empty()) .for_each(|s| { command.arg(s);