void-packages/srcpkgs/base-files/files/profile

25 lines
499 B
Plaintext
Raw Normal View History

# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
#Set our umask
umask 022
# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
export PATH
# Load profiles from /etc/profile.d
if [ -d /etc/profile.d/ ]; then
for f in /etc/profile.d/*.sh; do
2012-05-03 10:20:59 +02:00
[ -r "$f" ] && . "$f"
done
unset f
fi
# Source global bash config
if [ -n "$PS1" -a -n "$BASH" -a -r /etc/bashrc ]; then
. /etc/bashrc
fi