-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
66 lines (54 loc) · 1.79 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
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
alias zues='zeus'
alias WEEMA='bake db:drop && bake db:create && bake db:migrate'
alias WEEMATEST='RAILS_ENV=test rake db:drop && RAILS_ENV=test rake db:create && RAILS_ENV=test rake db:migrate'
alias kode='cd ~/code/'
alias kts='tmux ls | awk '\''{print $1}'\'' | sed '\''s/://g'\'' | xargs -I{} tmux kill-session -t {}'
alias rdb='bake db:migrate && bake db:test:prepare'
alias work='thyme -d'
alias revolt='thyme -s'
alias more='thyme -dm'
alias rest='thyme -db'
alias bake='bundle exec rake'
alias buard='bundle exec guard'
alias list='ps aux | grep'
alias rist='bake routes | grep'
alias springer='spring stop && spring start'
export PATH=/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
## npm binaries
export PATH=/usr/local/share/npm/bin:$PATH
## GO
# export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/code/go
export PATH=$PATH:/usr/local/opt/go/libexec/bin
export PATH=$GOPATH/bin:$PATH
### RVM
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
### Tmux 256 color forcing:
#http://www.terminally-incoherent.com/blog/2012/10/17/vim-solarized-and-tmux/
export TERM="screen-256color"
export BUNDLER_EDITOR=vim
alias tmux="tmux -2"
#PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
#source ~/.rvm/scripts/rvm
# Guard
export GUARD_NOTIFY='false'
# RBENV
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/lib/node:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
# RBEnv
if (( $+commands[rbenv] )) ; then
eval "$(rbenv init --no-rehash -)"
(rbenv rehash &) 2> /dev/null
fi