-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases.local
88 lines (72 loc) · 2.32 KB
/
aliases.local
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
84
85
86
87
88
# Commands
alias apmu='apm update --confirm=false'
alias be='bundle exec'
alias copy-ssh-key='pbcopy < ~/.ssh/id_rsa.pub'
alias ct='ctags -R .'
alias ea='elm-analyse -s -p 3379'
alias eas='elm-app start'
alias er='elm repl'
alias et='elm-test'
alias etw='elm-test --watch'
alias hk='heroku'
alias hkl='heroku local'
alias iexm='iex -S mix'
alias iexmt='iex -S mix test'
alias iexp='iex -S mix phx.server'
alias m='mix'
alias mc='mix credo --strict'
alias mcf='mix compile --force'
alias md='MIX_ENV=test mix dialyzer'
alias mdg='mix deps.get'
alias mdog='mix dogma'
alias med='mix ecto.dump'
alias megm='mix ecto.gen.migration'
alias mem='mix ecto.migrate'
alias mer='mix ecto.rollback'
alias mf='mix format'
alias mfc='mix format --check-formatted'
alias mh='mix help'
alias mmigrate='mem && mer && mem'
alias mpr='mix phx.routes'
alias mps='mix phx.server'
alias mr='mix run'
alias mt='mix test'
alias mtc='mix test --cover'
alias mted='MIX_ENV=test mix ecto.drop'
alias mti='mix test.interactive'
alias mtif='mix test.interactive --only focus'
alias n='npm'
alias pgstart='brew services start postgresql'
alias pgstop='brew services stop postgresql'
alias pgrestart='pgstop && pgstart'
alias r='rails'
alias rdm='rake db:migrate'
alias rdr='rake db:rollback'
alias rdtp='rake db:test:prepare'
alias rr='rake routes'
alias rrw='QUEUE=* VVERBOSE=1 rake resque:work'
alias ss='spring stop'
alias ta='test-all'
alias tree='tree -C'
alias y='yarn'
alias yr='yarn run'
alias yl='yarn lint'
alias ylf='yarn lint:fix'
alias yt='yarn test'
alias wds='webpack-dev-server'
# Directory shortcuts
alias dotdir='cd $PROJECTS/Jeff/dotfiles-local'
alias tdotdir='cd $PROJECTS/Jeff/dotfiles'
# Editor shortcuts
alias ae='$EDITOR $HOME/.aliases.extra'
alias books='$EDITOR "$HOME/Google Drive/My Drive/Dev/books"'
alias dev-notes='$EDITOR "$HOME/Google Drive/My Drive/Dev/notes"'
alias dot='$EDITOR $PROJECTS/Jeff/dotfiles-local'
alias laptop='$EDITOR $PROJECTS/Jeff/laptop'
alias sheets='$EDITOR "$HOME/Google Drive/My Drive/Dev/cheat-sheets"'
alias sync-settings='$EDITOR $HOME/Library/Application Support/Code/User/syncLocalSettings.json'
alias ssh-config='$EDITOR $HOME/.ssh/config'
alias tdot='$EDITOR $PROJECTS/Jeff/dotfiles'
alias til='$EDITOR $PROJECTS/Jeff/til'
# Include aliases not tracked in source control
[[ -f ~/.aliases.extra ]] && source ~/.aliases.extra