forked from guewen/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases
26 lines (20 loc) · 978 Bytes
/
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
alias doco='docker-compose'
alias docor='docker-compose run --rm -p 8888:8069'
alias docu='docker-compose up -d'
alias docl='docker-compose logs'
alias docsh='docker-compose run --rm odoo odoo shell'
alias dood='docker-compose run --rm odoo odoo'
alias docpg='docker-compose run --rm odoo psql'
alias bro='chromium-browser --incognito $(docker-compose port odoo 8069)'
# Restoring database into docker-compose
alias crodb='create_and_restore_odoo_db'
alias docleanc='printf "\n>>> Deleting stopped containers\n\n" && docker rm $(docker ps -a -q)'
alias docleani='printf "\n>>> Deleting untagged images\n\n" && docker rmi $(docker images -q -f dangling=true)'
alias g='git'
alias gs='git status'
alias gl='git log -n 10'
alias gri='git rebase --autosquash -i'
alias gfo='git fetch origin; git rebase --autosquash -i origin'
alias ack='ack -s'
alias isu='invoke submodule.update'
alias dockviz="docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz"