zsh: add docker aliases

master
Guillaume Dott 2018-09-03 10:00:49 +02:00
parent 2546f3b8e0
commit 6042dc8e08
1 changed files with 6 additions and 0 deletions

View File

@ -152,6 +152,12 @@ alias xephyr-onescreen='Xephyr -ac -br -noreset -screen 800x600 :1& sleep 3; DIS
alias be='bundle exec' alias be='bundle exec'
alias git-count="gawk '{ add += \$1 ; subs += \$2 ; loc += \$1 - \$2 } END { printf \"added lines: %s, removed lines : %s, total lines : %s\n\", add, subs, loc }\' -" alias git-count="gawk '{ add += \$1 ; subs += \$2 ; loc += \$1 - \$2 } END { printf \"added lines: %s, removed lines : %s, total lines : %s\n\", add, subs, loc }\' -"
## Docker ##
alias dcb='docker-compose build'
alias dcu='docker-compose up'
alias dcr='docker-compose run app'
alias dcrestart='docker-compose restart app'
alias -s pdf=zathura alias -s pdf=zathura
alias -s ps=gv alias -s ps=gv
alias -s dvi=xdvi alias -s dvi=xdvi