mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
shut up goenv
This commit is contained in:
parent
8a52d849bc
commit
ff67c229b9
@ -8,10 +8,10 @@
|
|||||||
|
|
||||||
# https://github.com/go-nv/goenv
|
# https://github.com/go-nv/goenv
|
||||||
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)"
|
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
||||||
elif [ -f ~/.goenv/bin/goenv ]; then
|
elif [ -f ~/.goenv/bin/goenv ]; then
|
||||||
eval "$(~/.goenv/bin/goenv init -)"
|
eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://github.com/nvm-sh/nvm
|
# https://github.com/nvm-sh/nvm
|
||||||
|
@ -269,10 +269,10 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
|||||||
|
|
||||||
# https://github.com/go-nv/goenv
|
# https://github.com/go-nv/goenv
|
||||||
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)"
|
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
||||||
elif [ -f ~/.goenv/bin/goenv ]; then
|
elif [ -f ~/.goenv/bin/goenv ]; then
|
||||||
eval "$(~/.goenv/bin/goenv init -)"
|
eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://github.com/nvm-sh/nvm
|
# https://github.com/nvm-sh/nvm
|
||||||
|
4
rc/zshrc
4
rc/zshrc
@ -223,10 +223,10 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
|||||||
|
|
||||||
# https://github.com/go-nv/goenv
|
# https://github.com/go-nv/goenv
|
||||||
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
if [ -f /home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv ]; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)"
|
eval "$(/home/linuxbrew/.linuxbrew/opt/goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
PATH=/home/linuxbrew/.linuxbrew/opt/goenv/bin/shims:$PATH
|
||||||
elif [ -f ~/.goenv/bin/goenv ]; then
|
elif [ -f ~/.goenv/bin/goenv ]; then
|
||||||
eval "$(~/.goenv/bin/goenv init -)"
|
eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://github.com/nvm-sh/nvm
|
# https://github.com/nvm-sh/nvm
|
||||||
|
Loading…
Reference in New Issue
Block a user