Fix Order of operation

Commands would not bee seen from the host.* files as the configuration
was not yet done.
This commit is contained in:
2024-11-29 13:04:38 +01:00
parent 05c6e1381b
commit 9f75ebf473

View File

@@ -8,6 +8,28 @@
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# Add brew
if [ -x "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Add ~/bin
if [ -e "${HOME}/bin" ]; then
PATH="${HOME}/bin:${PATH}"
fi
# Add cargo
if [ -e "${HOME}/.cargo/bin" ]; then
PATH="${HOME}/.cargo/bin:${PATH}"
fi
export PATH
# Set language to English, UTF-8
export LC_ALL=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
# Host-specific alias definitions
if [ -f "${HOME}/.host.profile" ]; then
. "${HOME}/.host.profile"
@@ -20,23 +42,3 @@ if [ -n "${BASH_VERSION}" ]; then
. "${HOME}/.bashrc"
fi
fi
# Add brew
if [ -x "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Add ~/bin
if [ -e "${HOME}/bin" ]; then
PATH="${HOME}/bin:${PATH}"
fi
# Add cargo
if [ -f "${HOME}/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi
# Set language to English, UTF-8
export LC_ALL=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8