Browse Source

Ignore errors from compaudit when using `sudo -s`

John Reese 14 years ago
parent
commit
99d72cad55
2 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/completion.zsh
  2. 2 2
      lib/key-bindings.zsh

+ 1 - 1
lib/completion.zsh

@@ -9,7 +9,7 @@ unsetopt flowcontrol
 WORDCHARS=''
 
 autoload -U compinit
-compinit
+compinit -i
 
 zmodload -i zsh/complist
 

+ 2 - 2
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'
-#
+#