summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2022-05-04 13:15:21 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2022-05-04 13:16:51 -0400
commit19be5254c3f5df03f3d6c68e13c73c88b40156fa (patch)
treec217a781b305507bd4d5f31b5a17bddc3f507759 /src
parent9c5bcfca9699dc0bd8656f0e5c405d66035af481 (diff)
remove stderr capture for zoxide interactive
Diffstat (limited to 'src')
-rw-r--r--src/commands/zoxide.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/zoxide.rs b/src/commands/zoxide.rs
index 86cc956..1abe9f2 100644
--- a/src/commands/zoxide.rs
+++ b/src/commands/zoxide.rs
@@ -50,7 +50,6 @@ pub fn zoxide_query_interactive(
.arg("-i")
.arg("--")
.stdin(Stdio::piped())
- .stderr(Stdio::piped())
.stdout(Stdio::piped())
.spawn()?;
let zoxide_output = zoxide_process.wait_with_output()?;
@@ -65,7 +64,7 @@ pub fn zoxide_query_interactive(
let path = Path::new(zoxide_path);
context
.message_queue_mut()
- .push_info(format!("z {:?}", zoxide_path));
+ .push_info(format!("zi {:?}", zoxide_path));
change_directory::change_directory(context, &path)?;
}
} else {