Update gitconfig and zshrc

This commit is contained in:
Rob Watson 2021-06-28 13:08:41 +02:00
parent b786eade61
commit c07c1b474b
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@
bn = rev-parse --abbrev-ref HEAD bn = rev-parse --abbrev-ref HEAD
br = branch br = branch
ca = commit --amend ca = commit --amend
cdf = clean -df
cdfn = clean -dfn
cf = !git commit --fixup $(git log --invert-grep --grep fixup -n1 --oneline --format=format:%h) cf = !git commit --fixup $(git log --invert-grep --grep fixup -n1 --oneline --format=format:%h)
chp = checkout -p chp = checkout -p
ci = commit ci = commit

2
zshrc
View File

@ -64,6 +64,8 @@ alias clw="tmux kill-window"
alias d="dirs -v" alias d="dirs -v"
alias dc="docker-compose -f docker-compose.yml" alias dc="docker-compose -f docker-compose.yml"
alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.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 gb="go build"
alias gba="go build ./..." alias gba="go build ./..."
alias gbat="go build ./... && go test ./..." alias gbat="go build ./... && go test ./..."