diff options
author | Marc Cornellà <marc@mcornella.com> | 2023-10-19 20:47:26 +0200 |
---|---|---|
committer | Marc Cornellà <marc@mcornella.com> | 2023-10-19 20:47:26 +0200 |
commit | 9f84ba085425800dee0b4e391d8cf377806dc75e (patch) | |
tree | d640ea32ec0bb8824e3bdf984d4cc7db2ae54076 /plugins | |
parent | d082d87580f05cca524c546d54eb8009cf8bb10c (diff) | |
download | zsh-9f84ba085425800dee0b4e391d8cf377806dc75e.tar.gz zsh-9f84ba085425800dee0b4e391d8cf377806dc75e.tar.bz2 zsh-9f84ba085425800dee0b4e391d8cf377806dc75e.zip |
feat(command-not-found): add support for Homebrew on Linux
Fixes #11151
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/command-not-found/command-not-found.plugin.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh index cb8a8989c..c741e18a2 100644 --- a/plugins/command-not-found/command-not-found.plugin.zsh +++ b/plugins/command-not-found/command-not-found.plugin.zsh @@ -3,9 +3,10 @@ for file ( # Arch Linux. Must have pkgfile installed: https://wiki.archlinux.org/index.php/Pkgfile#Command_not_found /usr/share/doc/pkgfile/command-not-found.zsh - # macOS (M1 and classic Homebrew): https://github.com/Homebrew/homebrew-command-not-found + # Homebrew: https://github.com/Homebrew/homebrew-command-not-found /opt/homebrew/Library/Taps/homebrew/homebrew-command-not-found/handler.sh /usr/local/Homebrew/Library/Taps/homebrew/homebrew-command-not-found/handler.sh + /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-command-not-found/handler.sh ); do if [[ -r "$file" ]]; then source "$file" |