diff options
author | Noah Too <krivahtoo@gmail.com> | 2022-10-26 17:51:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 10:51:41 -0400 |
commit | 623383f671ece0e74016efea9d9ebdfb8868530f (patch) | |
tree | 0e0cbe079d7fd268a91f787239d37b9cf206bbc1 /src | |
parent | 4c77c046953a17e2c1792ea1626df3a3f69083e4 (diff) |
support multiple zoxide arguments (#220)
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/zoxide.rs | 2 |
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() { |