-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
executable file
·39 lines (33 loc) · 1.05 KB
/
.bash_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
# general
alias cls='clear'
alias v='vim'
alias ag='Ag'
# docker
alias dc='docker-compose'
alias drmc="docker rm \$(docker ps -qa --no-trunc --filter 'status=exited')"
alias drmv="docker volume rm \$(docker volume ls -qf dangling=true)"
alias drmi="docker rmi \$(docker images | grep '^<none>' | awk '{print $3}')"
alias docker-clean="drmc;drmv;drmi"
# git
alias gco='git checkout'
alias gl='git pull'
alias gs='git status'
alias dif='git diff'
alias gb='git branch'
alias add='git add'
alias commit='git commit -m'
alias gpo='git push origin $(git_current_branch)'
alias gcn='sh ~/.clone_namely_repo.sh'
alias gsm='git submodule update --init'
# grpc_cli
# alias grpc_cli='docker run -v `pwd`:/defs --rm -it namely/grpc-cli'
alias mkgrpc='docker run -v `pwd`:/defs namely/protoc-all:1.9'
# kubernetes
alias kb='kubectl'
# virtualenv
alias vnv='source vnv/bin/activate'
alias venv='source venv/bin/activate'
# for fun
alias datnot='dotnet'
alias xlnt='python /Users/seanmassot/Documents/excellent.py'
alias humil='python /Users/seanmassot/Documents/humiliation.py'