-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
executable file
·99 lines (80 loc) · 2.68 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
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
89
90
91
92
93
94
95
96
97
98
#!bin/bash
alias reload='source ~/.zshrc'
#rails
alias rc='bin/rails console'
alias rs='SIDEKIQ_INLINE=false stop; overmind s'
alias yi='yarn install'
alias r='bundle exec rake'
alias rr='rails release'
alias rt='rails test'
alias rt1='PARALLEL_WORKERS=1 rails test'
alias rt2='PARALLEL_WORKERS=2 rails test'
alias rt4='PARALLEL_WORKERS=4 rails test'
alias rt6='PARALLEL_WORKERS=6 rails test'
alias rt8='PARALLEL_WORKERS=8 rails test'
alias rt10='PARALLEL_WORKERS=10 rails test'
alias rts='PARALLEL_WORKERS=1 TEST_USE_FIXTURES=true HEADLESS=true rails test'
alias ss='screenshot'
alias tt='bundle exec turbo_tests -n 8'
alias rdm='rails db:migrate'
alias rdr='rails db:rollback'
alias mps='mix phx.server'
#adding aliases for bundle
alias be='bundle exec'
alias bi='bundle install'
alias bu='bundle update'
#rubygems
alias gi='gem install'
alias gu='gem update'
alias gun='gem uninstall'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
#processes
alias tu='top -o cpu'
alias tm='top -o vsize'
# git
alias g='git status'
# alias gl='git log --pretty=oneline --graph --decorate'
alias gl='git adog'
alias gpl='git smart-pull'
alias gps='git push'
alias gc='git commit'
alias gch='git checkout'
alias ga='git add'
alias gb='git branch'
alias gs='git stash'
alias gsp='git stash pop'
alias gsp1='git stash pop --index 1'
alias gsp2='git stash pop --index 2'
alias gsp3='git stash pop --index 3'
alias gm='git merge'
alias gr='git rebase'
alias gg='git grep'
alias gsu='submodule foreach git pull origin master'
alias gd='git diff'
alias gdc='git diff --cached'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias j='jump'
alias ea='edit_alias'
alias clipboard='DISPLAY=:0 xclip -sel clip'
alias shopt='/Users/jeremy/dev/dotfiles/commands/shopt'
alias puma-relink='pkill -USR1 puma-dev; rm ~/.puma-dev/lexop; puma-dev link .'
alias stop='spring stop; puma-dev -stop'
alias demo='az aks get-credentials --resource-group CanadaCentralStg --name lexop-stg-cc-aks01'
alias prod='az aks get-credentials --resource-group lxp-pr-cac-rg --name lxp-pr-cac-aks'
alias stg='az aks get-credentials --resource-group lxp-st-cac-rg --name lxp-st-cac-aks'
alias pod='f() { kubectl exec --stdin --tty $1 -- /bin/sh };f'
alias tsla='ticker TSLA'
alias ld='tail -f -n 100 ~/dev/lexop/log/development.log'
alias lt='tail -f -n 100 ~/dev/lexop/log/test.log'
alias rbc='git ls-files -m | xargs ls -1 2>/dev/null | grep '\.rb$' | xargs rubocop'
alias ssho='ssh jeremy@outside'
alias sshi='ssh jeremy@inside'
alias socat6060='sudo socat tcp-listen:80,reuseaddr,fork tcp:localhost:6060'
alias vim="nvim"
alias vimdiff='nvim -d'
alias kill_md="launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist"