summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Reese <jreese@leetcode.net>2010-04-08 22:35:35 -0400
committerJohn Reese <jreese@leetcode.net>2010-04-08 22:35:35 -0400
commit99d72cad5573f7481c28a75228b940f2212c9e1b (patch)
tree76bbd91fca29fe2d7905521f6bcaa943edb3b198 /lib
parenta4dd691af5cdb3ce818fa14d32d58cbcecf45b4d (diff)
downloadzsh-99d72cad5573f7481c28a75228b940f2212c9e1b.tar.gz
zsh-99d72cad5573f7481c28a75228b940f2212c9e1b.tar.bz2
zsh-99d72cad5573f7481c28a75228b940f2212c9e1b.zip
Ignore errors from compaudit when using `sudo -s`
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh2
-rw-r--r--lib/key-bindings.zsh4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 46b6d8f65..b58612dbf 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -9,7 +9,7 @@ unsetopt flowcontrol
WORDCHARS=''
autoload -U compinit
-compinit
+compinit -i
zmodload -i zsh/complist
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
index 87e47bab6..2e282d66a 100644
--- a/lib/key-bindings.zsh
+++ b/lib/key-bindings.zsh
@@ -1,6 +1,6 @@
# TODO: Explain what some of this does..
autoload -U compinit
-compinit
+compinit -i
bindkey -e
bindkey '\ew' kill-region
@@ -38,4 +38,4 @@ bindkey ' ' magic-space # also do history expansion on space
#bindkey '^I' complete-word
## Fix weird sequence that rxvt produces
#bindkey -s '^[[Z' '\t'
-# \ No newline at end of file
+#