forked from jperichon/dotFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
73 lines (65 loc) · 1.36 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
ZSH=$HOME/.oh-my-zsh
# git aliases
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias gti='git'
alias vmi='vim'
alias ivm='vim'
# custom aliases
alias pw='pwd'
alias top='htop'
alias tail='tail'
alias diff='colordiff'
alias clr='clear'
alias cls='clear'
alias mkdir='mkdir -p'
alias v='vim'
alias g='git'
alias flushdns='dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say flushed'
export PAGER="vimpager"
export EDITOR="vim"
export SVN_EDITOR="vim"
export GIT_EDITOR="vim"
export TERM=xterm-256color
setopt INTERACTIVE_COMMENTS
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward
plugins=(
autojump
aws
bower
brew
bundler
chruby
colored-man
cp
docker
docker-compose
gem
git
git-flow
heroku
history-substring-search
hub
osx
rails
rake
rake-fast
ssh
vi-mode
)
export PATH=/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/bin:/usr/local/sbin:/usr/local/share/npm/bin
export CLICOLOR_FORCE=1
export ZSH_THEME="refined"
[[ -f `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
source $ZSH/oh-my-zsh.sh
export PATH="/usr/local/heroku/bin:$PATH"
# chruby ruby-2.4.0
export GOPATH=~/go
export GOROOT=/usr/local/opt/go/libexec
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
export HIST_IGNORE_SPACE=1