README file (and some fixes)

This commit is contained in:
Alexander Gehrke (crater2150) 2013-03-18 13:25:38 +01:00
parent 6023ed42bf
commit 1375ee2f3c
4 changed files with 56 additions and 8 deletions

View file

@ -3,6 +3,10 @@ if [ -e /etc/profile.env ] ; then
. /etc/profile.env
fi
for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
if [ -e "$HOME/.profile" ]; then
. "$HOME/.profile"
fi
@ -24,10 +28,6 @@ unset ROOTPATH
shopts=$-
setopt nullglob
#more gentoo specific stuff
for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
unsetopt nullglob
set -$shopts