1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 06:31:12 +00:00
prezto/modules/command-not-found
Indrajit Raychaudhuri c857e809c3 command-not-found: Detect Homebrew repo internally, not idiomatically
For performance reasons, we prefer detecting Homebrew prefix internally
instead of the more idiomatic form `brew --repository`.

We attempt looking up $HOMEBREW_REPOSITORY first (in case `brew shellenv`
has been sourced-in earlier). Else, we look it up by resolving absolute
path of $HOMEBREW_REPOSITORY.

This should work for most standard (and officially documented) Homebrew
installations.
2022-04-08 14:23:51 -05:00
..
init.zsh command-not-found: Detect Homebrew repo internally, not idiomatically 2022-04-08 14:23:51 -05:00
README.md general: Update documentation better qualifying runcom paths 2021-05-21 12:31:02 -05:00

Command-Not-Found

When you try to use a command that is not available locally, searches the package manager for a package offering that command and suggests the proper install command.

Debian and Arch Linux based distributions use the command-not-found tool.

macOS uses Homebrew's command-not-found clone. Note that unless you have a recent version of Homebrew installed, you might also need to tap the command-not-found Homebrew repository following the instructions.

Authors

The authors of this module should be contacted via the issue tracker.