summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPat Regan <thehead@patshead.com>2011-04-08 10:12:22 -0400
committerPat Regan <thehead@patshead.com>2011-04-08 10:12:22 -0400
commit993e05da50543b9c2dcc5e4fedb93afd1c8b020c (patch)
treefeeccab83c2b7fb9cfd027c686ea15f746f48bac /lib
parent2e9492969b0ea90932ad3f4298330b75ef8cf2ce (diff)
downloadzsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.tar.gz
zsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.tar.bz2
zsh-993e05da50543b9c2dcc5e4fedb93afd1c8b020c.zip
Replace redundant calls to compinit with a single call.
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 e8e9776a5..3c5a41e14 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -9,9 +9,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