Created
August 7, 2011 11:46
-
-
Save ahpex/1130311 to your computer and use it in GitHub Desktop.
.zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .zshrc | |
# | |
# see http://zsh.sourceforge.net/Doc/Release/index-frame.html | |
# Set FPATH | |
fpath=(${HOME}/.zsh/completion $fpath) | |
# Autoloading | |
autoload -U compinit promptinit colors | |
colors | |
compinit | |
promptinit | |
# Theme of prompt | |
prompt adam2 | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias ls='ls --color=auto -F' | |
alias -g L='|less' | |
setopt ALWAYS_TO_END | |
setopt AUTO_CD | |
setopt AUTO_LIST | |
setopt AUTO_PUSHD | |
setopt COMPLETE_IN_WORD | |
setopt CORRECT | |
setopt NOCLOBBER | |
zstyle ':completion:*' completer _expand _complete _correct _approximate | |
zstyle ':completion:*' completions 1 | |
zstyle ':completion:*' file-sort name | |
zstyle ':completion:*' glob 1 | |
zstyle ':completion:*' insert-unambiguous true | |
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} | |
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s | |
zstyle ':completion:*' max-errors 2 | |
zstyle ':completion:*' menu select | |
zstyle ':completion:*' original true | |
zstyle ':completion:*' prompt 'correction: %e ' | |
zstyle ':completion:*' squeeze-slashes true | |
zstyle ':completion:*' substitute 2 | |
# Don't show '.svn' directories upon completion of cd command | |
zstyle ':completion:*:*:cd:*' ignored-patterns '(*/|)(.svn)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment