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()?;