From c07c1b474b575d3a795de27d2d8da0cabba8485d Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Mon, 28 Jun 2021 13:08:41 +0200 Subject: [PATCH] Update gitconfig and zshrc --- gitconfig | 2 ++ zshrc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gitconfig b/gitconfig index aa921c7..84df200 100644 --- a/gitconfig +++ b/gitconfig @@ -10,6 +10,8 @@ bn = rev-parse --abbrev-ref HEAD br = branch ca = commit --amend + cdf = clean -df + cdfn = clean -dfn cf = !git commit --fixup $(git log --invert-grep --grep fixup -n1 --oneline --format=format:%h) chp = checkout -p ci = commit diff --git a/zshrc b/zshrc index b193cf5..4b12ead 100644 --- a/zshrc +++ b/zshrc @@ -64,6 +64,8 @@ alias clw="tmux kill-window" alias d="dirs -v" alias dc="docker-compose -f docker-compose.yml" alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml" +alias dockup="sudo systemctl start docker" +alias dockdown="sudo systemctl stop docker" alias gb="go build" alias gba="go build ./..." alias gbat="go build ./... && go test ./..."