summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-04-28 23:24:39 -0700
committerRobby Russell <robby@planetargon.com>2011-04-28 23:24:39 -0700
commitc550f1f8443774e9639bbb03b50728eb855836eb (patch)
treed7b913504d5e30d68527487be44564ad8f487e98 /lib
parent70d0beae22e7d97d4380af32dae1618f45e3dd4b (diff)
parent58a7cf19b7af136c5f59ee706ffe4772871f00fa (diff)
downloadzsh-c550f1f8443774e9639bbb03b50728eb855836eb.tar.gz
zsh-c550f1f8443774e9639bbb03b50728eb855836eb.tar.bz2
zsh-c550f1f8443774e9639bbb03b50728eb855836eb.zip
Merged pull request #269 from oknowton/master.
Significantly speed up startup time (1.2 seconds for me) by removing redundant compinit calls
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh3
-rw-r--r--lib/key-bindings.zsh2
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 9c2dfecca..fdd0a8536 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -8,9 +8,6 @@ setopt always_to_end
WORDCHARS=''
-autoload -U compinit
-compinit -i
-
zmodload -i zsh/complist
## case-insensitive (all),partial-word and then substring completion
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index 7196a88ff..c7ad907d7 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -1,6 +1,4 @@
# TODO: Explain what some of this does..
-autoload -U compinit
-compinit -i
bindkey -e
bindkey '\ew' kill-region