43 lines
876 B
Bash
43 lines
876 B
Bash
|
|
# Colors
|
||
|
|
if [ -e $HOME/.bash_colors ]; then
|
||
|
|
source $HOME/.bash_colors
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Exports Variable Settings
|
||
|
|
if [ -e $HOME/.bash_exports ]; then
|
||
|
|
source $HOME/.bash_exports
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Paths
|
||
|
|
if [ -e $HOME/.bash_paths ]; then
|
||
|
|
source $HOME/.bash_paths
|
||
|
|
fi
|
||
|
|
|
||
|
|
if [ -e $HOME/.bash_ld_library_path ]; then
|
||
|
|
source $HOME/.bash_ld_library_path
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Aliases
|
||
|
|
if [ -e $HOME/.bash_aliases ]; then
|
||
|
|
source $HOME/.bash_aliases
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Functions
|
||
|
|
if [ -e $HOME/.bash_functions ]; then
|
||
|
|
source $HOME/.bash_functions
|
||
|
|
fi
|
||
|
|
|
||
|
|
# Auto complete -- Note: Must have bash-completion package
|
||
|
|
if [ -f /etc/bash_completion ]; then
|
||
|
|
. /etc/bash_completion
|
||
|
|
fi
|
||
|
|
|
||
|
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||
|
|
|
||
|
|
|
||
|
|
# Terminal look and feel with logo and then custom prompt line
|
||
|
|
echo "${lightred}Welcome to the dark side of the moon, $(whoami)!${default}"
|
||
|
|
if [ -e $HOME/.bash_ps1 ]; then
|
||
|
|
source $HOME/.bash_ps1
|
||
|
|
fi
|