]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/command-not-found/README.md
5a373c53724f1662103f3e9e58c5e5cc3c4c7520
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / command-not-found / README.md
1 # command-not-found plugin
2
3 This plugin uses the command-not-found package for zsh to provide suggested packages to be installed if a command cannot be found.
4
5 To use it, add `command-not-found` to the plugins array of your zshrc file:
6
7 ```zsh
8 plugins=(... command-not-found)
9 ```
10
11 An example of how this plugin works in Ubuntu:
12 ```
13 $ mutt
14 The program 'mutt' can be found in the following packages:
15  * mutt
16  * mutt-kz
17  * mutt-patched
18 Try: sudo apt install <selected package>
19 ```
20
21 ### Supported platforms
22
23 It works out of the box with the command-not-found packages for:
24
25 - [Ubuntu](https://www.porcheron.info/command-not-found-for-zsh/)
26 - [Debian](https://packages.debian.org/search?keywords=command-not-found)
27 - [Arch Linux](https://wiki.archlinux.org/index.php/Pkgfile#Command_not_found)
28 - [macOS (Homebrew)](https://github.com/Homebrew/homebrew-command-not-found)
29 - [Fedora](https://fedoraproject.org/wiki/Features/PackageKitCommandNotFound)
30 - [NixOS](https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/command-not-found)
31 - [Termux](https://github.com/termux/command-not-found)
32 - [SUSE](https://www.unix.com/man-page/suse/1/command-not-found/)
33
34 You can add support for other platforms by submitting a Pull Request.