diff --git a/src/bin/completion.rs b/src/bin/completion.rs index 15bd309b..6006ff72 100644 --- a/src/bin/completion.rs +++ b/src/bin/completion.rs @@ -56,7 +56,9 @@ fn main() -> Result<(), Error> { let args = shellword_split(&line)?; - handle_command(helper.cmd_def(), "", args); + let _ = handle_command(helper.cmd_def(), "", args); + + rl.add_history_entry(line); } Ok(())