mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
Currect GOPATH, added the right git-profile package
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user