12b898f3ca
Deleted dotfiles/.local/share/chezmoi/home/.chezmoiscripts/_universal/run_onchange_before_1-logging-deps
21 lines
905 B
Bash
21 lines
905 B
Bash
### Source .bashrc if it is present
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
. "$HOME/.bashrc"
|
|
elif [ -f "$HOME/.config/shell/exports" ]; then
|
|
. "$HOME/.config/shell/exports"
|
|
fi
|
|
|
|
### Ensure Homebrew PATHs
|
|
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
|
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
|
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
|
|
export HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"
|
|
export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin${PATH+:$PATH}"
|
|
export MANPATH="/home/linuxbrew/.linuxbrew/share/man${MANPATH+:$MANPATH}:"
|
|
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
|
|
export WHALEBREW_INSTALL_PATH="/home/linuxbrew/.linuxbrew/whalebrew"
|
|
elif [ -f /opt/homebrew/bin/brew ]; then
|
|
eval $(/opt/homebrew/bin/brew shellenv)
|
|
elif [ -f /usr/local/bin/brew ]; then
|
|
eval $(/usr/local/bin/brew shellenv)
|
|
fi
|