diff --git a/src/run.rs b/src/run.rs index 82c9b01..0954992 100644 --- a/src/run.rs +++ b/src/run.rs @@ -762,7 +762,8 @@ fn _run(mut state: State, session_path: PathBuf) -> Result<(), FxError> { break 'zoxide; } else if let Ok(output) = std::process::Command::new("zoxide") - .args(["query", commands[1]]) + .arg("query") + .args(&commands[1..]) .output() { let output = output.stdout;