Indrajit Raychaudhuri
33d77df9a9
command-not-found: Minor reformatting
6 years ago
Indrajit Raychaudhuri
9ccf945fbb
command-not-found: Support custom Homebrew tap on MacOS
...
Added support for homebrew-command-not-found from a non-default tap
6 years ago
Indrajit Raychaudhuri
9e019dcda6
command-not-found: Restore idiomatic homebrewed handler loading on MacOS
...
As is the convention in prezto, we cache the command-not-found handler to
avoid incurring the performance penalty of loading ruby interpreter on
every call. This restores the 'Homebrew way' of loading command-not-found
handler.
Further, the formally recommended command lookup mechanism in Homebrew
(viz., `brew command command-not-found-init`) is ruby based and is super
slow. To avoid performance penalty, we `find` it ourselves from
`TAP_DIRECTORY` defined internally in Homebrew.
This also reinstates support for custom taps or non-standard Homebrew location.
6 years ago
Kaleb Elwert
b71c80e330
command-not-found: Directly source homebrew command-not-found handler
...
Fixes #1577 , Fixes #1451
7 years ago
Ashish Gandhi
45d8e460b2
Rename "Mac OS X" to "macOS" in comments
...
This only changes references in text for human consumption. It leaves
out renaming paths because that can cause breaking changes.
Related issue https://github.com/sorin-ionescu/prezto/issues/1449 .
7 years ago
Indrajit Raychaudhuri
b0c85eddf6
[command-not-found] Load brew 'command-not-found' if homebrew tap is available
...
Homebrew has _official_ tap that supports `command-not-found`.
Enable it when possible.
8 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Daniel Renninghoff
e18f18af92
Support command-not-found on Arch Linux
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
11 years ago
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
13 years ago
Sorin Ionescu
24559be19d
Add quotes around file names
13 years ago
Sorin Ionescu
e5ec94af42
Check for non-empty files, not just existance
13 years ago
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
13 years ago
Sorin Ionescu
b96bbca51c
Added or edited file headers.
13 years ago
Sorin Ionescu
60f39d8d91
Moved hub into the git plugin.
13 years ago
Sorin Ionescu
b65195156d
Added missing FX and named colors to spectrum.
13 years ago
Sorin Ionescu
90e7debc30
Cleaned up the plugins.
13 years ago
Joseph Jon Booker
1d78c87604
command-not-found package in ubuntu
14 years ago