From 19be5254c3f5df03f3d6c68e13c73c88b40156fa Mon Sep 17 00:00:00 2001 From: Jeff Zhao Date: Wed, 4 May 2022 13:15:21 -0400 Subject: remove stderr capture for zoxide interactive --- src/commands/zoxide.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3