Skip to content

Instantly share code, notes, and snippets.

@pgib
Created February 20, 2012 19:01
Show Gist options
  • Select an option

  • Save pgib/1870742 to your computer and use it in GitHub Desktop.

Select an option

Save pgib/1870742 to your computer and use it in GitHub Desktop.
My .zshrc for @eddanger
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored _approximate
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle :compinstall filename '/Users/patrick/.zshrc'
autoload -Uz compinit
compinit
autoload vcs_info
vcs_info
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt notify
bindkey -v
# Shell environment export for vim
export SHELL=/bin/zsh
export TERM='xterm-256color'
# prompt -----------------------------------------------------------
autoload -U colors && colors
setopt promptsubst
zstyle ':vcs_info:*' enable git svn
precmd()
{
#zstyle ':vcs_info:*' formats ' {green}%b%c%u%F'
zstyle ':vcs_info:*' formats ' [%F{green}%b%c%u%F{blue}]'
vcs_info
}
setopt prompt_subst
PROMPT="%{$fg[red]%}[air]%{$reset_color%}%~\$ "
RPROMPT='${vcs_info_msg_0_}%F%{$reset_color%}'
if [ -e .zprofile ]; then
source .zprofile
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment