Smart package suggestions when unknown commands are typed in NovaTerm terminal.
Basic — A bash hook is already integrated in NovaTerm's default shell configuration.
NovaTerm ships with a command_not_found_handler() function in .bashrc that uses apt-cache search to suggest installable packages when an unknown command is entered:
$ ffmpeg
ffmpeg: command not found
Did you mean to install 'ffmpeg'?
pkg install ffmpeg- C++ binary — Prebuilt lookup table for instant results (like Termux's implementation)
- Fuzzy matching — Suggest similar commands for typos (
gti->git) - Alias awareness — Check user aliases before suggesting packages
- Multiple sources — Search across apt, pip, npm, and cargo packages
- AI suggestions — Optional AI-powered command alternatives via NovaTerm's LLM
bash: command_not_found_handler()
|
command-not-found binary (planned)
|
Package database (prebuilt index)
Apache License 2.0