-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc.alias
36 lines (30 loc) · 1.41 KB
/
.zshrc.alias
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
alias term-colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$'\n'}; done'
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias n='nvim'
alias kat='~/side_projects/golang/tabbyKat/tabbykat-delete'
# Jobber Specific
alias jobber="bin/jobber"
alias activity_stream_run="bin/rails runner bin/activity_stream_monitor -p -d"
alias jo="jobber/jobber"
alias jm="jobber/jobber-mobile"
alias jobber-keychain='ssh-add --apple-use-keychain ~/.ssh/id_ed25519'
## Setting up NGROK rails.
alias nrails='USE_NGROK=true rails server'
alias nprocfile='JOBBER_SERVER_HOSTNAME="dennisg.ngrok.io" bin/jobber procfile'
alias activity_stream_monitor='bin/rails runner bin/activity_stream_monitor -p -d'
alias debug_automated_reviews='JOBBER_SERVER_HOSTNAME="dennisg.ngrok.io" bundle exec hutch --config=config/hutch.yml --only-group=automated_reviews'
# Git
alias js='git status'
alias ja='git add'
alias jb='git branch'
alias jc='git commit'
# Exa (TODO: Replace w/ eza)
eza_params=('--icons' '--classify' '--group-directories-first' '--time-style=long-iso' '--group' '--color-scale')
alias ls='eza $eza_params'
alias l='eza --git-ignore $eza_params'
alias ll='eza --all --header --long $eza_params'
alias llm='eza --all --header --long --sort=modified $eza_params'
alias la='eza -lbhHigUmuSa'
alias lx='eza -lbhHigUmuSa@'
alias lt='eza --tree $eza_params'
alias tree='eza --tree $eza_params'