mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-11 04:51:56 +00:00
chore(fix): goenvrc, fish alternative
This commit is contained in:
@@ -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
|
||||
|
||||
4
config/goenv/goenvrc.fish
Normal file
4
config/goenv/goenvrc.fish
Normal file
@@ -0,0 +1,4 @@
|
||||
set -gx GOENV_PATH_ORDER front
|
||||
set -gx GOENV_PREPEND_GOPATH true
|
||||
set -gx GOENV_AUTO_INSTALL true
|
||||
|
||||
Reference in New Issue
Block a user