From 6042dc8e08bf0fd90a595f69bebf85f98ec78f6e Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Mon, 3 Sep 2018 10:00:49 +0200 Subject: [PATCH] zsh: add docker aliases --- zsh/zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 4b4b653..d0df3e8 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -152,6 +152,12 @@ alias xephyr-onescreen='Xephyr -ac -br -noreset -screen 800x600 :1& sleep 3; DIS 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 }\' -" +## 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 ps=gv alias -s dvi=xdvi