diff --git a/etc/profile.d/99-brew-whateverenv.sh b/etc/profile.d/99-brew-whateverenv.sh index a304c67f..387948fb 100644 --- a/etc/profile.d/99-brew-whateverenv.sh +++ b/etc/profile.d/99-brew-whateverenv.sh @@ -8,10 +8,10 @@ # https://github.com/go-nv/goenv 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 elif [ -f ~/.goenv/bin/goenv ]; then - eval "$(~/.goenv/bin/goenv init -)" + eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1 fi # https://github.com/nvm-sh/nvm diff --git a/rc/bashrc b/rc/bashrc index 1402ff8c..89ff1bb7 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -269,10 +269,10 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad" # https://github.com/go-nv/goenv 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 elif [ -f ~/.goenv/bin/goenv ]; then - eval "$(~/.goenv/bin/goenv init -)" + eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1 fi # https://github.com/nvm-sh/nvm diff --git a/rc/zshrc b/rc/zshrc index 8a6b95e8..abde7801 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -223,10 +223,10 @@ export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad" # https://github.com/go-nv/goenv 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 elif [ -f ~/.goenv/bin/goenv ]; then - eval "$(~/.goenv/bin/goenv init -)" + eval "$(~/.goenv/bin/goenv init -)" > /dev/null 2>&1 fi # https://github.com/nvm-sh/nvm