Browse Source

Ignore errors from compaudit when using `sudo -s`

John Reese 15 years ago
parent
commit
ab010947ae
  1. 2
      lib/completion.zsh
  2. 4
      lib/key-bindings.zsh

2
lib/completion.zsh

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

4
lib/key-bindings.zsh

@ -1,6 +1,6 @@
# TODO: Explain what some of this does.. # TODO: Explain what some of this does..
autoload -U compinit autoload -U compinit
compinit compinit -i
bindkey -e bindkey -e
bindkey '\ew' kill-region bindkey '\ew' kill-region
@ -38,4 +38,4 @@ bindkey ' ' magic-space # also do history expansion on space
#bindkey '^I' complete-word #bindkey '^I' complete-word
## Fix weird sequence that rxvt produces ## Fix weird sequence that rxvt produces
#bindkey -s '^[[Z' '\t' #bindkey -s '^[[Z' '\t'
# #

Loading…
Cancel
Save