summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNoah Too <krivahtoo@gmail.com>2022-10-26 17:51:41 +0300
committerGitHub <noreply@github.com>2022-10-26 10:51:41 -0400
commit623383f671ece0e74016efea9d9ebdfb8868530f (patch)
tree0e0cbe079d7fd268a91f787239d37b9cf206bbc1 /src
parent4c77c046953a17e2c1792ea1626df3a3f69083e4 (diff)
support multiple zoxide arguments (#220)
Diffstat (limited to 'src')
-rw-r--r--src/commands/zoxide.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/zoxide.rs b/src/commands/zoxide.rs
index 0725618..7ab8429 100644
--- a/src/commands/zoxide.rs
+++ b/src/commands/zoxide.rs
@@ -15,7 +15,7 @@ pub fn zoxide_query(context: &mut AppContext, args: &str) -> JoshutoResult {
.arg("--exclude")
.arg(&cwd)
.arg("--")
- .arg(args)
+ .args(args.split(' ').collect::<Vec<&str>>())
.output()?;
if zoxide_output.status.success() {