Comment 3 for bug 678421

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Error in ~/.profile halts the X startup

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"