mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-25 09:57:30 +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 we have go packages, include them to the PATH
|
||||||
if command -v go &> /dev/null; then
|
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
|
if [ -d "$GOPATH/bin" ]; then
|
||||||
export PATH="$GOPATH/bin:$PATH"
|
export PATH="$GOPATH/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -59,6 +59,7 @@
|
|||||||
met:
|
met:
|
||||||
- go:
|
- go:
|
||||||
- github.com/skx/sysbox@latest
|
- github.com/skx/sysbox@latest
|
||||||
|
- github.com/dotzero/git-profile
|
||||||
|
|
||||||
# hosts: v
|
# hosts: v
|
||||||
- if:
|
- if:
|
||||||
@@ -71,6 +72,15 @@
|
|||||||
path: hosts/v/config/**
|
path: hosts/v/config/**
|
||||||
- go:
|
- go:
|
||||||
- github.com/skx/sysbox@latest
|
- 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
|
# hosts: lakka
|
||||||
- if:
|
- if:
|
||||||
|
|||||||
Reference in New Issue
Block a user