Skip to content

Commit

Permalink
Merge pull request kyoheiu#288 from kyoheiu/fix/z-query
Browse files Browse the repository at this point in the history
Fix: Receive multiple arguments
  • Loading branch information
kyoheiu authored Mar 3, 2024
2 parents b1e69d6 + 0fb83c5 commit 374af64
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 374af64

Please sign in to comment.