mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
29 lines
626 B
Bash
29 lines
626 B
Bash
# .bashrc
|
|
|
|
# Source global definitions
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
# Source exports, if it exists
|
|
if [ -f $HOME/.bash/exports.bash ]; then
|
|
source $HOME/.bash/exports.bash
|
|
fi
|
|
|
|
# Source functions, if it exists
|
|
if [ -f $HOME/.bash/functions.bash ]; then
|
|
source $HOME/.bash/functions.bash
|
|
fi
|
|
|
|
# Source aliases, if it exists
|
|
if [ -f $HOME/.bash/aliases.bash ]; then
|
|
source $HOME/.bash/aliases.bash
|
|
fi
|
|
|
|
# Source completions, if it exists
|
|
if [ -f $HOME/.bash/completions.bash ]; then
|
|
source $HOME/.bash/completions.bash
|
|
fi
|
|
|
|
# Homebrew
|
|
[ -d /opt/homebrew ] && eval $(/opt/homebrew/bin/brew shellenv) |