Skip to content

Commit

Permalink
Fix: Receive multiple arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoheiu committed Mar 3, 2024
1 parent ea4d1d3 commit 0fb83c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0fb83c5

Please sign in to comment.