99d72cad5573f7481c28a75228b940f2212c9e1b

Author
John Reese <jreese@leetcode.net>
Committer
John Reese <jreese@leetcode.net>
Date

Message

Ignore errors from compaudit when using `sudo -s`

Diff

 1diff --git a/lib/completion.zsh b/lib/completion.zsh
 2index 46b6d8f656a72cfb59007211af38181c979af73e..b58612dbf4f046a1976a89456e71834dea45d6fa 100644
 3--- a/lib/completion.zsh
 4+++ b/lib/completion.zsh
 5@@ -9,7 +9,7 @@ unsetopt flowcontrol
 6 WORDCHARS=''
 7 
 8 autoload -U compinit
 9-compinit
10+compinit -i
11 
12 zmodload -i zsh/complist
13 
14diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
15index 87e47bab6f1d040f5d77ca8504741259fd1a1496..2e282d66a85662e64e02444bdc97b0d72e7aa490 100644
16--- a/lib/key-bindings.zsh
17+++ b/lib/key-bindings.zsh
18@@ -1,6 +1,6 @@
19 # TODO: Explain what some of this does..
20 autoload -U compinit
21-compinit
22+compinit -i
23 
24 bindkey -e
25 bindkey '\ew' kill-region
26@@ -38,4 +38,4 @@ bindkey ' ' magic-space    # also do history expansion on space
27 #bindkey '^I' complete-word
28 ## Fix weird sequence that rxvt produces
29 #bindkey -s '^[[Z' '\t'
30-#
31+#