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\"" PROMPT_COMMAND="$PROMPT_COMMAND;printf \"\a\""
# Append previous command to history immediately # Append previous command to history immediately
PROMPT_COMMAND="$PROMPT_COMMAND;history -a" 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 "$(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
else else
fastfetch -C ${HOME}/.dotfiles/fastfetch/config.jsonc fastfetch -C ${HOME}/.dotfiles/fastfetch/config.jsonc
fi fi
fi fi