Whitespace and comment
This commit is contained in:
parent
181d2fea77
commit
cb6b728ce2
12
bash/bashrc
12
bash/bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue