core/filesystem/profile

28 lines
558 B
Plaintext
Raw Normal View History

2010-03-13 23:25:19 +08:00
# /etc/profile
#Set our umask
umask 022
# Set our default path
2011-03-08 04:40:22 +08:00
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
2010-03-13 23:25:19 +08:00
export PATH
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
2011-03-08 04:40:22 +08:00
for profile in /etc/profile.d/*.sh; do
test -r $profile && . $profile
done
unset profile
fi
# Source global bash config
if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
. /etc/bash.bashrc
2010-03-13 23:25:19 +08:00
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH