forked from bjeanes/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathryan-aliases
39 lines (31 loc) · 1.03 KB
/
ryan-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
alias e='$EDITOR'
alias ls='ls -G'
alias ..='cd ..;' # can then do .. .. .. to move up multiple directories.
alias ...='.. ..'
# rails stuff
alias log='tail -f -0 ./log/*.log &'
alias r='bundle exec rake'
alias migrate='r db:migrate'
alias rollback='r db:rollback'
alias redo="r db:migrate && r db:rollback"
alias restart='touch tmp/restart.txt'
alias raisl='rails'
alias b='bundle'
alias s='ta && rails s'
alias c='ta && rails s'
alias ber="bundle exec rspec"
alias bec="bundle exec cucumber"
alias be="bundle exec"
alias berrim='r railties:install:migrations; r db:migrate'
alias dev='tail -f log/development.log'
alias cop='rubocop `git diff --name-only master..HEAD --diff-filter=d | ack .rb$`'
alias logs="cd /Users/ryan/Library/Containers/com.codeux.irc.textual/Data/Logs/Twist"
alias zt="zeus test"
alias zc="zeus console"
# Kill all zeus processes
alias zk="ps x -o pid,command | grep zeus | grep -v grep | cut -d ' ' -f 1 | xargs kill"
# elixir things
alias mdg='mix deps.get'
alias mt="mix test"
# hanami things
alias h="be hanami"