diff --git a/etc/profile.d/50-xdg-screenshots.sh b/etc/profile.d/50-xdg-screenshots.sh index 4d0ff60e..fff8822d 100644 --- a/etc/profile.d/50-xdg-screenshots.sh +++ b/etc/profile.d/50-xdg-screenshots.sh @@ -5,11 +5,11 @@ # thread of what the fluff was I doing again. if [ $(hash xdg-user-dir 2> /dev/null) ] && [ $(hash xdg-user-dir-update 2> /dev/null) ]; then - echo "50-xdg-screenshots.sh ok" + echo "50-xdg-screenshots.sh ok" > /dev/null 2>&1 fi if [[ $(xdg-user-dir SCREENSHOTS) != $(xdg-user-dir) ]]; then - echo "50-xdg-screenshots.sh ok" + echo "50-xdg-screenshots.sh ok" > /dev/null 2>&1 fi # Check if the user has a locale preference diff --git a/rc/bashrc b/rc/bashrc index 29e9e872..59f7c15d 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -281,13 +281,13 @@ fi # https://github.com/nvm-sh/nvm if [ -d ~/.nvm ]; then - . ~/.nvm/nvm.sh - . ~/.nvm/bash_completion + . ~/.nvm/nvm.sh > /dev/null 2>&1 + . ~/.nvm/bash_completion > /dev/null 2>&1 elif [ -d /home/linuxbrew/.linuxbrew/opt/nvm ]; then mkdir -p /home/linuxbrew/.nvm export NVM_DIR=/home/linuxbrew/.nvm - [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" # This loads nvm - [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion + [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh >/dev/null 2>&1" # This loads nvm + [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm >/dev/null 2>&1" # This loads nvm bash_completion fi # https://github.com/rbenv/rbenv diff --git a/rc/zshrc b/rc/zshrc index 5a9a55ec..48450bab 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -240,8 +240,8 @@ if [ -d ~/.nvm ]; then elif [ -d /home/linuxbrew/.linuxbrew/opt/nvm ]; then mkdir -p /home/linuxbrew/.nvm export NVM_DIR=/home/linuxbrew/.nvm - [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" # This loads nvm - [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion + [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh >/dev/null 2>&1" # This loads nvm + [ -s "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/etc/bash_completion.d/nvm >/dev/null 2>&1" # This loads nvm bash_completion fi # https://github.com/rbenv/rbenv