-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases.zsh
35 lines (23 loc) · 1.19 KB
/
aliases.zsh
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
alias c="clear"
alias cat="bat --theme=TwoDark"
alias lg="lazygit"
alias vim="nvim"
alias setpublicregistry="npm config set registry https://registry.npmjs.org/"
alias corepids="corecli core:ps | grep UP | awk '{print \$6}' | tr '\n' ' '"
alias glon='function _glon() { git log --oneline -n $1 }; _glon'
alias ccb="ledger -c bal checking liabilities:mastercard \
liabilities:visa bank:savings assets:cash liabilities:'wells fargo' \
Assets:Reimbursement:Home:Fence"
alias cfb="ledger bal checking liabilities:mastercard \
liabilities:visa:joint liabilities:visa:usna bank:savings assets:cash"
alias dbsync="bazel build //db/tools/... && bazel run //db/tools:sdb.grant && bazel run //:db-schema-update"
# Old aliases
#alias zshconfig="code --new-window ~/.zshrc"
#alias wsm="ssh jasonjones-wsm"
#alias dckrstop="docker stop $(docker ps -aq)"
#alias dckrrm="docker rm $(docker ps -aq)"
#alias listglobalnpmpackages="npm list -g --depth=0"
#alias squashpr="git rebase -i HEAD~\$(git rev-list master.. --count)"
#alias code="code --new-window"
#alias notes="code --new-window ~/Documents/notes"
#alias scratchpad="code --new-window ~/Documents/notes ~/Documents/notes/scratch.md"