Whitespace and comment

This commit is contained in:
John Mertz 2024-01-31 22:38:11 -07:00
parent 181d2fea77
commit cb6b728ce2
1 changed files with 7 additions and 5 deletions

View File

@ -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