From 99401519ee53facd6429bcac2b72d9779ac20bc4 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 29 Oct 2020 00:24:25 +0000 Subject: [PATCH] chore(golang): improve goenv setup --- gitignore | 2 ++ zsh/golang.zsh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gitignore b/gitignore index 32ef38e..15781d2 100644 --- a/gitignore +++ b/gitignore @@ -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 diff --git a/zsh/golang.zsh b/zsh/golang.zsh index a18e32f..9c768c1 100755 --- a/zsh/golang.zsh +++ b/zsh/golang.zsh @@ -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' \