feat: fuzzy search not found commands

This commit is contained in:
iff 2023-07-31 18:46:35 +02:00
parent 86ae6a6fb4
commit 135abc75b6
5 changed files with 177 additions and 27 deletions

View file

@ -18,7 +18,10 @@ fn main() {
if let Some(corrected_command) = corrected_command {
corrections::confirm_correction(&shell, &corrected_command, &last_command);
} else {
println!("No correction found for the command: {}\n", last_command.red().bold());
println!(
"No correction found for the command: {}\n",
last_command.red().bold()
);
println!("If you think there should be a correction, please open an issue or send a pull request!");
}
}