DISTROBOX before PATH

This commit is contained in:
John Mertz 2024-01-31 22:35:31 -07:00
parent 5d98997075
commit 8e9606ec49
1 changed files with 5 additions and 5 deletions

View File

@ -35,6 +35,11 @@ if [ -e ${HOME}/.dotfiles/bash/shell_config ]; then
source ${HOME}/.dotfiles/bash/shell_config
fi
# Distrobox-specific or host-specific configs (loads $DISTROBOX variable, necessary for PATH)
if [ -f "/run/.containerenv" ]; then
source "$HOME/.dotfiles/bash/bashrc.distrobox"
else
source "$HOME/.dotfiles/bash/bashrc.host"
fi
# Configure PATH
@ -50,11 +55,6 @@ fi
eval "$(plenv init -)"
source ${HOME}/.dotfiles/bash/plenv-path.sh
if [ -f "/run/.containerenv" ]; then
source "$HOME/.dotfiles/bash/bashrc.distrobox"
else
source "$HOME/.dotfiles/bash/bashrc.host"
fi
source "$HOME/.cargo/env"
source ~/perl5/perlbrew/etc/bashrc