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 the 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 ...) -
(Optional) specify the managers that you want the plugin to use, in
~/.zshrcaddexport MANAGERS=('apt' 'flatpak' 'homebrew')
apt( and nala if exist)dnfpacman- aur:
yay*paru*aura*
zypper*homebrewflatpaksnap*nix*
Caution
The aur managers yay paru aura have an issue
Please do not use them as they will not display any results
Important
The managers marked with * are not (well) tested yet
you can help improving the plugin by providing feedback if you are able to test them
|
|
|

