Currect GOPATH, added the right git-profile package

This commit is contained in:
2023-03-26 23:43:29 +00:00
parent 53d91f8248
commit bb7ba3c919
2 changed files with 12 additions and 1 deletions

View File

@@ -45,7 +45,8 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
# If we have go packages, include them to the PATH
if command -v go &> /dev/null; then
export GOPATH=$(go env GOPATH);
export GOPATH="$XDG_DATA_HOME/go";
mkdir -p "$GOPATH"
if [ -d "$GOPATH/bin" ]; then
export PATH="$GOPATH/bin:$PATH"
fi

View File

@@ -59,6 +59,7 @@
met:
- go:
- github.com/skx/sysbox@latest
- github.com/dotzero/git-profile
# hosts: v
- if:
@@ -71,6 +72,15 @@
path: hosts/v/config/**
- go:
- github.com/skx/sysbox@latest
- github.com/dotzero/git-profile
# hosts tunkki
- if:
- cond: "[[ $(hostname) = tunkki ]]"
met:
- go:
- github.com/skx/sysbox@latest
- github.com/dotzero/git-profile
# hosts: lakka
- if: