dotfiles/.zshrc

46 lines
999 B
Bash
Raw Normal View History

ZSH=$HOME/.oh-my-zsh
2013-11-26 20:34:38 +00:00
ZSH_THEME="agnoster"
2015-01-24 15:46:54 +00:00
COMPLETION_WAITING_DOTS="true"
2015-01-24 15:46:54 +00:00
plugins=(vi-mode svn git python history-substring-search)
source $ZSH/oh-my-zsh.sh
2013-10-09 07:21:30 +01:00
HISTFILE=~/.histfile
2013-11-30 10:00:26 +00:00
HISTSIZE=10240
SAVEHIST=10240
2013-10-09 07:21:30 +01:00
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
2013-10-09 07:29:35 +01:00
autoload -U compinit
compinit
setopt completealiases
zstyle ':completion::complete:*' use-cache 1
# bind UP and DOWN arrow keys
zmodload zsh/terminfo
bindkey "$terminfo[cuu1]" history-substring-search-up
bindkey "$terminfo[cud1]" history-substring-search-down
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
2013-10-09 10:19:02 +01:00
if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim
fi
2013-12-02 09:49:22 +00:00
if [[ `uname` =~ 'CYGWIN.*' ]]; then
export DISPLAY=:0.0
else
alias tssh="torsocks ssh"
2013-12-02 09:49:22 +00:00
fi
2013-10-09 07:21:30 +01:00
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
export PATH=$HOME/tools:$PATH
2014-04-12 06:43:24 +01:00
export PATH=/usr/local/heroku/bin:$PATH
export EDITOR="vim"
export KEYTIMEOUT=1
2013-10-09 11:45:04 +01:00