2024-09-18 13:03:01 -03:00
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2024-09-18 13:28:19 -03:00
|
|
|
# Set up terminal variables and scripts
|
|
|
|
[[ -f ~/.bash_setup.sh ]] && . ~/.bash_setup.sh
|
|
|
|
|
|
|
|
# Set aliases if aliases exist
|
|
|
|
[[ -f ~/.bash_alias.sh ]] && . ~/.bash_alias.sh
|
2024-09-18 13:03:01 -03:00
|
|
|
|
|
|
|
# Helpful tool: https://bash-prompt-generator.org
|
|
|
|
# On github: https://github.com/Scriptim/bash-prompt-generator
|
|
|
|
PS1='[\u@\h \w]\$ '
|