Indrajit Raychaudhuri
dc8e168d5f
command-not-found: Minor reformatting
2018-12-14 20:57:10 -06:00
Indrajit Raychaudhuri
f745645342
command-not-found: Support custom Homebrew tap on MacOS
...
Added support for homebrew-command-not-found from a non-default tap
2018-12-11 13:26:43 -06:00
Indrajit Raychaudhuri
2286662b80
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.
2018-12-11 08:10:37 -06:00
Kaleb Elwert
f8f93d4b91
command-not-found: Directly source homebrew command-not-found handler
...
Fixes #1577 , Fixes #1451
2018-04-29 17:39:39 -07:00
Ashish Gandhi
b6b43eb331
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 .
2018-04-16 15:53:48 -07:00
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.
2017-07-12 20:51:44 -07:00
Sorin Ionescu
a84ac5b002
Only one newline at end of file
2014-10-09 23:38:15 -04:00
Daniel Renninghoff
e18f18af92
Support command-not-found on Arch Linux
...
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-11-17 15:09:03 -05:00
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
2012-08-04 14:32:59 -04:00
Sorin Ionescu
24559be19d
Add quotes around file names
2012-05-20 20:13:23 -04:00
Sorin Ionescu
e5ec94af42
Check for non-empty files, not just existance
2012-05-05 18:08:25 -04:00
Sorin Ionescu
a7340886b3
[ #23 ] Rename plugins to modules
2012-04-05 13:39:40 -04:00