feat: with asdf

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-10-19 11:11:53 +02:00
parent 4592a3a7c5
commit 3d8cf32bd6
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA

View File

@ -6,7 +6,10 @@ SAVEHIST=1000000000
setopt hist_ignore_all_dups setopt hist_ignore_all_dups
setopt hist_ignore_space setopt hist_ignore_space
{{ if .homebrew }}
. ~/.asdf/plugins/golang/set-env.zsh
{{ end }}
LW_PATH=~/git/github.com/lunarway LW_PATH=~/git/github.com/lunarway
GOPATH=~/go GOPATH=~/go
GOBIN="$GOPATH/bin" GOBIN="$GOPATH/bin"
@ -16,6 +19,7 @@ export PATH="/opt/homebrew/opt/libpq/bin:$HOME/.git-bins/:$PATH"
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH:$(brew --prefix llvm)/bin:$(brew --prefix llvm)/lib" export PATH="/opt/homebrew/opt/openjdk/bin:$PATH:$(brew --prefix llvm)/bin:$(brew --prefix llvm)/lib"
export PATH=/opt/homebrew/bin:$PATH export PATH=/opt/homebrew/bin:$PATH
export PATH="/Users/kah/.rustup/toolchains/nightly-aarch64-apple-darwin/bin:$PATH" export PATH="/Users/kah/.rustup/toolchains/nightly-aarch64-apple-darwin/bin:$PATH"
export PATH="$GOBIN/:$PATH"
{{ end }} {{ end }}
export DAGGER_CLOUD_TOKEN={{.dagger_cloud_token | quote}} export DAGGER_CLOUD_TOKEN={{.dagger_cloud_token | quote}}