export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export PAGER="less"
export EDITOR="nano"

if [ -r /etc/locale.conf ]; then
    . /etc/locale.conf
fi
export LANG="${LANG:-en_US.UTF-8}"
export LC_ALL="${LC_ALL:-$LANG}"

export DINIT_SOCKET_PATH="/run/dinitctl"
alias dinitctl='doas dinitctl'

if [ -d /etc/profile.d ]; then
    for sh in /etc/profile.d/*.sh; do
        [ -r "$sh" ] && . "$sh"
    done
    unset sh
fi
