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"