mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +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.
|
# Go (golang) environment setup.
|
||||||
#
|
#
|
||||||
|
|
||||||
# ==============================================================================
|
#
|
||||||
# g - Simple go version manager, gluten-free
|
# g - Simple go version manager, gluten-free
|
||||||
# ==============================================================================
|
#
|
||||||
|
|
||||||
# Create symlink for "g" called "gv", as I have "g" aliased to "git".
|
# 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' \
|
zinit light-mode wait lucid as'program' pick'bin/g' from'gh' \
|
||||||
atclone'cd bin && ln -s g gv' atpull'%atclone' \
|
atclone'cd bin && ln -s g gv' atpull'%atclone' \
|
||||||
for @stefanmaric/g
|
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
|
# global golang packages
|
||||||
# ==============================================================================
|
#
|
||||||
|
|
||||||
list_go_global_packages() {
|
list_go_global_packages() {
|
||||||
for bin in $(ls -1 ~/.go/bin); do
|
for bin in $(ls -1 ~/.go/bin); do
|
||||||
|
|||||||
Reference in New Issue
Block a user