dotfiles/.zshrc
Cyryl Plotnicki-Chudyk e2768e666e zsrc cleanup
2013-11-16 21:52:21 +01:00

34 lines
626 B
Bash

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
#vim bindings
bindkey -v
autoload -U compinit
compinit
setopt completealiases
autoload -U promptinit
promptinit
#default, should be everywhere
prompt redhat
#use 'gentoo' prompt if available
prompt -l | grep -i gentoo > /dev/null
code=$?
if [[ $code == 0 ]]; then
prompt gentoo
zstyle ':completion::complete:*' use-cache 1
fi
if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=$HOME/tools:$PATH