-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases.zsh
executable file
·53 lines (53 loc) · 1.11 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
alias ls=ls
alias l="LC_COLLATE=C ls -lAhF"
alias mv="mv -iv"
alias cp="cp -iv"
alias sudo="sudo "
alias su="sudo -i"
alias rmd="sudo rm -r"
alias cpd="sudo cp -r"
alias p1="ping 1.1.1.1"
alias p8="ping 8.8.8.8"
alias vi="nvim"
alias v="nvim"
alias vv="nvim ."
alias ...="cd -"
# zsh
alias relo="source ~/.zshrc"
# git
alias g="git"
alias gs="git sync"
alias gsm="git sync main"
alias hold="git ca -m 'hold'"
# gh
alias ghg="gh browse"
# z
alias j=z
# yarn/npm/pnpm
alias p="pnpm"
alias pl="pnpm lint:fix"
alias pf="pnpm format"
alias pt="pnpm test"
alias prc="pnpm run checks"
alias pd="pnpm dev"
alias redep="pnpm clean && pnpm install"
alias gen="pnpm generate"
alias y="yarn"
alias ya="yarn add --ignore-optional"
alias yad="yarn add --ignore-optional --dev"
alias yr="yarn remove --ignore-optional"
alias ys="yarn start"
alias yb="yarn build"
alias yu="yarn upgrade --ignore-optional"
alias yf="yarn format"
alias yl="yarn lint"
alias yd="yarn dev"
alias story="yarn storybook:start"
# k8s
alias k="kubectl"
alias kgp="kubectl get-pods"
alias kpf="kubectl port-forwrd"
alias kx="kubectx"
# VS Code
alias c="code"
alias oc="code ."