Merge branch 'master' of ssh://miranda.barakmich.com/home/barak
This commit is contained in:
commit
c08a34de44
36 changed files with 101 additions and 2249 deletions
19
.zshrc
19
.zshrc
|
|
@ -82,6 +82,25 @@ if [ -f ~/.bash_aliases ]; then
|
|||
source ~/.bash_aliases
|
||||
fi
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue