Clear errors from experimental sourcing

This commit is contained in:
John Mertz 2024-01-30 21:54:18 -07:00
parent 3ca76c52f8
commit 41ad18f37f
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ fi
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
source ~/perl5/perlbrew/etc/bashrc source ~/perl5/perlbrew/etc/bashrc
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
# Hide errors
clear
if [[ -n "$(which fastfetch 2> /dev/null)" ]]; then if [[ -n "$(which fastfetch 2> /dev/null)" ]]; then
if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc ]; then if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc ]; then
fastfetch -C ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc fastfetch -C ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc