chore(fix): goenvrc, fish alternative

This commit is contained in:
2025-03-25 00:32:00 +02:00
parent c9383f955c
commit 38e340ac8d
3 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
GOENV_PATH_ORDER=front
GOENV_PREPEND_GOPATH=true
GOENV_AUTO_INSTALL=true
# Detect shell
if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then
export GOENV_PATH_ORDER=front
export GOENV_PREPEND_GOPATH=true
export GOENV_AUTO_INSTALL=true
fi

View File

@@ -0,0 +1,4 @@
set -gx GOENV_PATH_ORDER front
set -gx GOENV_PREPEND_GOPATH true
set -gx GOENV_AUTO_INSTALL true