# /etc/profile: login shell setup

if [ -e /etc/profile.env ] ; then
	. /etc/profile.env
fi

export EDITOR=${EDITOR:-/usr/bin/vim}
export PAGER=${PAGER:-/usr/bin/less}

umask 022

source /etc/bash/bashrc

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
	for profile in /etc/profile.d/*.sh; do
		test -r "$profile" && . "$profile"
	done
	unset profile
fi

unset sh
