rm snippets, change zsh

This commit is contained in:
Barak Michener 2012-11-16 19:20:49 -08:00
parent 3c1ebe6332
commit 96acb0ef2b
25 changed files with 49 additions and 2220 deletions

19
.zshrc
View file

@ -64,6 +64,25 @@ fi
source ~/.zprofile
source ~/.bash_aliases
source ~/.zshenv
##############################################################
## Stuff from http://zshwiki.org/home/examples/compquickstart #
###############################################################
zmodload zsh/complist
autoload -U compinit && compinit
zstyle ':completion:::::' completer _complete _approximate
zstyle -e ':completion:*:approximate:*' max-errors 'reply=( $(( ($#PREFIX + $#SUFFIX) / 3 )) )'
zstyle ':completion:*:descriptions' format "- %d -"
zstyle ':completion:*:corrections' format "- %d - (errors %e})"
zstyle ':completion:*:default' list-prompt '%S%M matches%s'
zstyle ':completion:*' group-name ''
zstyle ':completion:*:manuals' separate-sections true
zstyle ':completion:*' menu select
zstyle ':completion:*' verbose yes
## case-insensitive (uppercase from lowercase) completion
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
#zstyle ':completion:*' special-dirs ..
if [ -n "`which fortune`" ]; then
fortune
fi