mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(golang): improve goenv setup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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' \
|
||||||
|
|||||||
Reference in New Issue
Block a user