@ -6,6 +6,7 @@ mod prompt;
use crate::error::ShellError;
use execute::interpret;
use rustyline::config::Configurer;
use rustyline::error::ReadlineError;
use rustyline::{Editor, Result};
@ -18,6 +19,7 @@ fn main() -> Result<()> {
});
let mut rl = Editor::<()>::new()?;
rl.set_auto_add_history(true);
let mut prompt = Prompt::new();