diff --git a/src/main.rs b/src/main.rs index 713e9a4..08e8e42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -72,7 +72,9 @@ fn main() { } Err(e) => { previous_command = None; - eprintln!("{}", e); + if e.to_string() == "No such file or directory (os error 2)" { + eprintln!("{} not found", command); + } } }; }