c04b4abe91b69c058bde8e5968abb759b9168b88
- Author
- Daniel Bye <dan@slightlystrange.org>
- Committer
- Daniel Bye <dan@slightlystrange.org>
- Date
Message
Removed calls to compinit in the extract and the bundler plugins. compinit should only be called once, after all modules, libs, etc are imported.
Diff
1diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh
2index 55564a252fce5d6d62ec745612067398ec4f8fce..e120331ff6ebdcc76be9a73b1ca4c7c1de6da740 100644
3--- a/plugins/bundler/bundler.plugin.zsh
4+++ b/plugins/bundler/bundler.plugin.zsh
5@@ -1,6 +1,4 @@
6 fpath=($ZSH/plugins/bundler $fpath)
7-autoload -U compinit
8-compinit -i
9
10 alias be="bundle exec"
11 alias bi="bundle install"
12diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh
13index 8cc17f7d4be725da84afaf018cb8343e3048ad5d..383331ccfe28d70c07e50f8f021333aec3a73b71 100644
14--- a/plugins/extract/extract.plugin.zsh
15+++ b/plugins/extract/extract.plugin.zsh
16@@ -80,6 +80,4 @@ alias x=extract
17
18 # add extract completion function to path
19 fpath=($ZSH/plugins/extract $fpath)
20-autoload -U compinit
21-compinit -i
22