mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
36 lines
782 B
Bash
36 lines
782 B
Bash
# .bashrc
|
|
|
|
# Source global definitions
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
# User specific environment
|
|
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
|
export PATH
|
|
|
|
# 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 exports, if it exists
|
|
if [ -f $HOME/.bash/exports.bash ]; then
|
|
source $HOME/.bash/exports.bash
|
|
fi
|
|
|
|
# Source completions, if it exists
|
|
if [ -f $HOME/.bash/exports.bash ]; then
|
|
source $HOME/.bash/completions.bash
|
|
fi
|
|
|
|
# Load iTerm2 integration, for all hosts
|
|
source ~/.bash/iterm2_integration.bash
|
|
|
|
# Homebrew
|
|
[ -d /opt/homebrew ]; eval $(/opt/homebrew/bin/brew shellenv) |