From ff67c229b96fb10005efc5403ba2a725dc5944d8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 30 Jul 2024 14:14:37 +0300 Subject: [PATCH] shut up goenv --- etc/profile.d/99-brew-whateverenv.sh | 4 ++-- rc/bashrc | 4 ++-- rc/zshrc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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