9 zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
10 zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
12 # Correction - zsh will correct mispelt commands
15 # Prompt - Set prompt to gentoo
16 autoload -U promptinit
18 autoload -U colors && colors
21 precmd () { vcs_info }
24 zstyle ':vcs_info:*' enable git
25 zstyle ':vcs_info:*' formats "%s-[%b]"
26 PROMPT="%F{green}%n@%m%k %B%F{blue}%3~ %# %b%f%k"
27 RPROMPT="%B%F{blue} \${vcs_info_msg_0_} %(?..%F{red}<%?>)"
31 export HISTFILE="$HOME/.zsh_history"
32 export SAVEHIST=$HISTSIZE
33 bindkey "^[[A" history-search-backward
34 bindkey "^[[B" history-search-forward
36 setopt hist_ignore_all_dups
37 setopt hist_ignore_space
42 export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
43 [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"