-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
41 lines (36 loc) · 842 Bytes
/
bashrc
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
alias nab="nano ~/.bashrc"
alias cl="clear"
# Docker
alias d="docker"
alias dci="docker commit"
alias dc="docker-compose"
alias dcud="docker-compose up -d"
alias dps="docker ps"
alias dpsa="docker ps -a"
alias dex="docker exec -it"
alias dexsu="docker exec -it -u 0"
# git
alias gad="git add"
alias gbr="git branch"
alias gci="git commit -m"
alias gco="git checkout"
alias gfe="git fetch origin"
alias gpl="git pull"
alias gpp="git stash pop"
alias gpu="git push"
alias gsh="git stash -m"
alias gshl="git stash list"
alias gst="git status"
alias gsw="git switch"
alias greh="git reset --hard"
# dev
alias npi="npm install"
alias npui="npm uninstall"
alias npdv="npm run dev"
alias npst="npm start"
alias npsb="npm run storybook"
alias nvu="nvm use"
alias nvlt="nvm use lts"
# Network
alias myip="curl ifconfig.me"
alias sysip="ipconfig"