Disable color in non-color capable terminals (like inside emacs)

This commit is contained in:
alexg0 2009-12-13 19:14:24 -06:00
commit 873284ccd3
2 changed files with 3 additions and 5 deletions

View file

@ -9,7 +9,8 @@ unsetopt flowcontrol
WORDCHARS=''
autoload -U compinit
compinit
# -i to avoid 'insecure directories prompt after sudo'
compinit -i
zmodload -i zsh/complist

View file

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