As regards efficiency, ~/.profile typically contains something like this:
if [ -n "$BASH_VERSION" ]; then # [ code that won't be run in bourne shell ] fi
if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi export LANGUAGE="en" export LC_MESSAGES="en_US.UTF-8" export LANG="sv_SE.UTF-8"
As regards efficiency, ~/.profile typically contains something like this:
if [ -n "$BASH_VERSION" ]; then
# [ code that won't be run in bourne shell ]
fi
if [ -d "$HOME/bin" ] ; then "$HOME/ bin:$PATH" "en_US. UTF-8"
PATH=
fi
export LANGUAGE="en"
export LC_MESSAGES=
export LANG="sv_SE.UTF-8"