dotfiles/.zshrc

34 lines
592 B
Bash
Raw Normal View History

2013-10-09 07:21:30 +01:00
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
2013-10-09 07:29:35 +01:00
2013-10-09 18:53:50 +01:00
bindkey -v
2013-10-09 07:29:35 +01:00
autoload -U compinit
compinit
setopt completealiases
autoload -U comptinit promptinit
compinit
2013-10-09 07:51:39 +01:00
promptinit
#default, should be everywhere
2013-10-09 07:51:39 +01:00
prompt redhat
2013-10-09 07:21:30 +01:00
prompt -l | grep -i gentoo > /dev/null
code=$?
if [[ $code == 0 ]]; then
prompt gentoo
fi
zstyle ':completion::complete:*' use-cache 1
2013-10-09 10:19:02 +01:00
if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
fi
2013-10-09 07:21:30 +01:00
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
2013-10-09 11:45:04 +01:00
PATH=$HOME/tools:$PATH