-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases
54 lines (42 loc) · 1.38 KB
/
aliases
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
alias la='ls -la'
alias ~='cd ~/'
alias journal='vim ~/journal/2013.txt'
alias s='subl'
alias c='cd'
alias fs='foreman start'
alias rs='bundle install && rails server -p 3000'
alias rc='rails console'
alias r2='rvm use ruby-2.0.0-p247'
alias r19='rvm use ruby-1.9.3-p448'
alias killruby='killall -9 ruby'
alias code='cd ~/code'
alias deja='cd ~/code/deja-work/dejaset'
alias alch='cd ~/code/alch/alchemy-learning'
alias u='cd ..'
alias c='cd'
alias ber='bundle exec rspec'
# Rails
alias bi='bundle install'
alias rakeredo='rake db:migrate:redo VERSION='
# Git
alias gpu='git push origin develop'
alias gcl='git clone'
alias gcm="git commit -m"
alias gco="git checkout"
alias gd="git diff"
alias gb="git branch"
alias glme="git log --all [email protected]"
alias gl="git log --oneline"
alias gdh='git diff HEAD'
# zeus
alias z='zeus'
alias zs='zeus start'
alias zrrg='zeus rake routes | grep'
# Show/hide hidden files in Finder
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
alias hide="defaults write com.apple.finder AppleShowAllFiles -bool NO"
# Hide/show all desktop icons (useful when presenting)
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool NO && killall Finder"
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
# Fun
alias pumpitup="osascript -e 'set volume 10'"