@ -0,0 +1,3 @@
pub enum ShellError {
Execute(String),
}
@ -1,3 +1,4 @@
mod error;
mod execute;
mod parse;
mod prompt;
@ -23,11 +24,9 @@ fn main() -> Result<()> {
Err(ReadlineError::Interrupted) => {
println!("CTRL-C");
break;
Err(ReadlineError::Eof) => {
println!("CTRL-D");
Err(err) => {