DISTROBOX before PATH
This commit is contained in:
parent
5d98997075
commit
8e9606ec49
10
bash/bashrc
10
bash/bashrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue