From a5e752f3427c65b45f79519ef710d159b5020f68 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 28 Apr 2021 10:33:33 +0200 Subject: [PATCH] zshrc: update aliases --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index 54b600a..8629ff5 100644 --- a/zshrc +++ b/zshrc @@ -66,6 +66,7 @@ alias dc="docker-compose -f docker-compose.yml" alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml" alias gb="go build" alias gba="go build ./..." +alias gbat="go build ./... && go test ./..." alias gc="git commit" alias gd="git diff" alias gg="go get" @@ -85,6 +86,8 @@ alias sc="systemctl" alias sk="setkeys" alias ssc="sudo systemctl" alias sysc="systemctl" +alias rggo="rg -g '*\.go' -g '!vendor/'" +alias rggt="rg -g '*\_test.go' -g '!vendor/'" alias tm="tmux attach" alias tmd="tmux new -s default -c $HOME || tmux attach -t default" alias tmls="tmux list-sessions"