Commit Graph
9 Commits
Author SHA1 Message Date
Robby RussellandClaude Fable 5.1 610d66ae06 perf(lib): autoload the omz CLI and omz_diagnostic_dump
lib/cli.zsh (944 lines) and lib/diagnostics.zsh (353 lines) were parsed
on every startup to define functions that most shells never call. Move
them to $ZSH/functions/, which is already on $fpath, and autoload the
two entry points from oh-my-zsh.sh instead. The `omz` completion moves
to $ZSH/completions/_omz where compinit picks it up on its own.

Measured on macOS arm64, zsh 5.9: ~1.7 ms less per interactive start.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-06 08:13:38 -07:00
Daniel Schauenberg 7936bbbd5a adapt brew,gem,pip plugin to new structure 2010-10-01 10:59:48 +02:00
Daniel Schauenberg cef6dcd98b Merge branch 'pip_plugin' 2010-09-01 13:21:48 +02:00
Daniel Schauenberg a8ec607a9c Merge branch 'gem_plugin' 2010-09-01 13:21:44 +02:00
Daniel Schauenberg fe09064fcf add pip completion and plugin 2010-09-01 13:21:11 +02:00
Daniel Schauenberg c96f5f78cb add gem completion function and plugin 2010-09-01 13:07:11 +02:00
Daniel Schauenberg 7b6be56117 fix problems with brew completion
- update plugin architecture
- completion function in $ZSH/functions/brew
- plugins/brew.plugin.zsh only activates
2010-08-20 18:55:30 +02:00
Robby Russell dea166411f Moving brew functions to it's own plugin 2010-06-03 12:59:49 -07:00
Erik Kastner b865f2ab38 adding homebrew completions - and a function dir 2009-10-26 00:47:23 -04:00