forked from jrallison/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshrc
83 lines (59 loc) · 2.29 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
74
75
76
77
78
79
80
81
82
83
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
export EDITOR='mvim -f --nomru -c "au VimLeave * !open -a iTerm"'
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mvim ~/.oh-my-zsh"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$HOME/.rbenv/bin
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
set EDITOR=mvim
# Nice git settings
alias gb='git branch -a -v'
alias gs='git status'
alias gd='git diff'
alias gca='git commit -av'
alias gcia='git commit -v -a -i'
alias grm='git ls-files --deleted | xargs git rm'
alias gcm='git checkout master'
alias gpr='git pull --rebase'
alias gspr='git stash; gpr; git stash apply'
alias pull='git pull --rebase'
alias push='git push'
alias gre='git rebase master'
alias gitl='git log --pretty=format:"%h %Cblue %an %Cred %s"'
alias s3cio='s3cmd -c ~/.s3cfg-cio'
alias s3ianap='s3cmd -c ~/.s3cfg-ianap'
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
export GOROOT=/usr/local/go
export GOPATH=$GOROOT
export PATH="$GOROOT/bin:$PATH"
export GOPATH="/web/services:$GOPATH"
export PATH="/web/services/bin:$PATH"
export SERVICES_CONFIG=/web/services/config/services.cfg