feat: add packer snapshot

This commit is contained in:
2022-09-11 20:50:20 +08:00
parent 0c43a07d46
commit b5a302a22f
5 changed files with 14 additions and 4 deletions
+7
View File
@@ -106,6 +106,8 @@ unsetopt BEEP
# unsetopt LIST_BEEP
# brew
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
export HOMEBREW_NO_AUTO_UPDATE=true # 禁止 brew 每次安装软件都 upate
# go
@@ -131,3 +133,8 @@ alias alert='terminal-notifier -title "Terminal" -message "Done with task! Exit
# git
alias gitb="git branch --show-current | tr -d '\n' | pbcopy"
alias ct="go test -gcflags=all=-l -cover ./..."
alias ci="golangci-lint run ./..."
alias gt="go test -gcflags=all=-l "
alias swg="swag init -o docs -g "
alias sws="swagger serve -F=swagger"