I wrote this plug in out of frustration from how the command-not-found plugin provided by OMZ only displays Homebrew available packages
I wanted a plugin that shows me all the available options when a command is not found, so I included many package manager to check from so the plugin can work on multiple systems
Note
If you didn't find a packager manager you are looking for please inform me or add it yourself and submit a pull request
-
clone the repository
git clone https://github.com/rami-shalhoub/Smart-command-not-found.git ~/.oh-my-zsh/custom/plugins/ -
add “smart-command-not-found” to the plugins array in
~/.zshrcplugins=(... smart-command-not-found ...)
- APT ( and nala if exist)
- DNF
- Pacman
- Zypper
- Homebrew
- Flatpak
- Snap
- Nix
|
|
|

