/Smart-command-not-found

A smarter command-not-found plugin for Oh My Zsh

Primary LanguageShellMIT LicenseMIT

Smart command not found

Why

I wrote this plug in out of frustration from how the command-not-found  plugin provided by OMZ only displays Homebrew available packages

What does it do

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

How to get it

  1. make sure Oh My Zh and fzf are installed

  2. clone the repository

    git clone https://github.com/rami-shalhoub/Smart-command-not-found.git ~/.oh-my-zsh/custom/plugins/
  3. add “smart-command-not-found” to the plugins array in ~/.zshrc

    plugins=(... smart-command-not-found ...)
    

Supported Package Managers

  • APT ( and nala if exist)
  • DNF
  • Pacman
  • Zypper
  • Homebrew
  • Flatpak
  • Snap
  • Nix

How it looks