From d28d566149c54570b1f51b06db3e5156d22c9f77 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sat, 7 Mar 2020 22:53:13 +0530 Subject: [PATCH] Improve query print dialog --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 972656f..51319c6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -112,7 +112,7 @@ fn zoxide() -> Result<(), failure::Error> { }?; if let Some(path) = path_opt { - print!("query: {}", path); + println!("query: {}", path.trim()); } } else if let Some(matches) = matches.subcommand_matches("add") { let now = get_current_time()?;