Dir structure cleanup

This commit is contained in:
yan
2011-12-07 02:48:00 -08:00
committed by Yan Pritzker
parent 13a5ac829b
commit f82daf5aec
4 changed files with 7 additions and 5 deletions

32
zsh/zshrc Normal file
View File

@@ -0,0 +1,32 @@
# Configuration
source ~/.dotfiles/zsh/aliases
source ~/.dotfiles/zsh/zsh_aliases
# Things I don't want to publish to github
source ~/.secrets
# Vim mode
bindkey -v
# Give me my bash style incremental search
bindkey '^R' history-incremental-search-backward
# Speed up git completion
# http://talkings.org/post/5236392664/zsh-and-slow-git-completion
__git_files () {
_wanted files expl 'local files' _files
}
# Always pushd when changing directory
setopt auto_pushd
# Fuzzy matching of completions for when you mistype them:
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
# RVM
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# Add path to our custom bins
export PATH=$PATH:~/.dotfiles/bin