mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:06:40 +00:00
feat(golang): install gup tool for updating tools installed with "go install"
This commit is contained in:
@@ -2,18 +2,24 @@
|
||||
# Go (golang) environment setup.
|
||||
#
|
||||
|
||||
# ==============================================================================
|
||||
#
|
||||
# g - Simple go version manager, gluten-free
|
||||
# ==============================================================================
|
||||
#
|
||||
|
||||
# Create symlink for "g" called "gv", as I have "g" aliased to "git".
|
||||
zinit light-mode wait lucid as'program' pick'bin/g' from'gh' \
|
||||
atclone'cd bin && ln -s g gv' atpull'%atclone' \
|
||||
for @stefanmaric/g
|
||||
|
||||
# ==============================================================================
|
||||
#
|
||||
# gup - Update binaries installed with "go install"
|
||||
#
|
||||
zinit light-mode wait lucid as'program' from'gh-r' pick'gup' \
|
||||
for @nao1215/gup
|
||||
|
||||
#
|
||||
# global golang packages
|
||||
# ==============================================================================
|
||||
#
|
||||
|
||||
list_go_global_packages() {
|
||||
for bin in $(ls -1 ~/.go/bin); do
|
||||
|
||||
Reference in New Issue
Block a user