chore(golang): improve goenv setup

This commit is contained in:
2020-10-29 00:24:25 +00:00
parent 0993889b24
commit 99401519ee
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
.AppleDouble .AppleDouble
.DS_Store .DS_Store
._zinit/*
.bin .bin
.bundle .bundle
.byebug_history .byebug_history
@@ -8,6 +9,7 @@
.stignore .stignore
.vagrant .vagrant
.vscode .vscode
.zinitrc.zsh
log/*.bz2 log/*.bz2
log/*.gz log/*.gz
routes.txt routes.txt

View File

@@ -8,8 +8,8 @@
# install goenv # install goenv
zinit ice wait lucid as'program' pick'bin/goenv' from'gh' \ zinit ice wait lucid as'program' pick'bin/goenv' from'gh' \
atclone'src/configure && make -C src; ../libexec/goenv init - > zgoenv.zsh' \ atclone'src/configure && make -C src; ./libexec/goenv init - > .zinitrc.zsh' \
atpull'%atclone' src'zgoenv.zsh' nocompile'!' atpull'%atclone' src'.zinitrc.zsh' nocompile'!'
zinit light syndbg/goenv zinit light syndbg/goenv
zinit ice wait lucid as'program' pick'plugins/go-build/bin/go-build' from'gh' \ zinit ice wait lucid as'program' pick'plugins/go-build/bin/go-build' from'gh' \