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]\$ '
|
2024-11-18 14:43:02 -04:00
|
|
|
|
|
|
|
# CLI env variables for programs
|
|
|
|
EDITOR=nano
|
|
|
|
DIFFPROG=difft
|