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
.DS_Store
._zinit/*
.bin
.bundle
.byebug_history
@@ -8,6 +9,7 @@
.stignore
.vagrant
.vscode
.zinitrc.zsh
log/*.bz2
log/*.gz
routes.txt

View File

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