diff --git a/bash/bashrc b/bash/bashrc index 2a174325d..b91248a55 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -76,10 +76,12 @@ PROMPT_COMMAND="source ${HOME}/.dotfiles/bash/prompt.sh" PROMPT_COMMAND="$PROMPT_COMMAND;printf \"\a\"" # Append previous command to history immediately PROMPT_COMMAND="$PROMPT_COMMAND;history -a" + +# Run fetch to clarify which OS we are using if [[ -n "$(which fastfetch 2> /dev/null)" ]]; then - if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc ]; then - fastfetch -C ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc - else - fastfetch -C ${HOME}/.dotfiles/fastfetch/config.jsonc - fi + if [ -n $DISTROBOX ] && [ -e ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc ]; then + fastfetch -C ${HOME}/.dotfiles/fastfetch/${DISTROBOX}.jsonc + else + fastfetch -C ${HOME}/.dotfiles/fastfetch/config.jsonc + fi fi