Update dotfiles/.bashrc

This commit is contained in:
Brian Zalewski 2022-10-31 12:51:14 +00:00
parent 276f126ea1
commit d05c4407eb

View file

@ -33,7 +33,8 @@ HISTFILESIZE=5000
HISTFILE=~/.local/bash_history
# Prompt (on bash only)
if { [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ]; } && [[ "$(hostname)" != *'-minimal' ]]; then
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ]; then
if [[ "$(hostname)" != *'-minimal' ]]; then
# Add new line before prompt
PROMPT_COMMAND="PROMPT_COMMAND=echo"
@ -50,6 +51,7 @@ if { [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ];
eval "$(gdircolors -b "$HOME/.config/dircolors")"
fi
fi
fi
### Bash Completions
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ]; then