浏览代码

Ignore errors from compaudit when using `sudo -s`

John Reese 14 年之前
父节点
当前提交
99d72cad55
共有 2 个文件被更改,包括 3 次插入3 次删除
  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'
-#
+#