2015-10-03 16:53:22 +02:00
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
2007-02-15 16:11:34 +01:00
|
|
|
|
|
|
|
if [ "$PS1" ]; then
|
2015-10-03 16:53:22 +02:00
|
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
|
|
export PS1='# '
|
|
|
|
else
|
|
|
|
export PS1='$ '
|
|
|
|
fi
|
2015-07-13 00:55:13 +02:00
|
|
|
fi
|
|
|
|
|
2015-10-03 16:53:20 +02:00
|
|
|
export PAGER='/bin/more '
|
|
|
|
export EDITOR='/bin/vi'
|
2015-07-13 00:55:13 +02:00
|
|
|
|
2011-10-19 09:36:02 +02:00
|
|
|
# Source configuration files from /etc/profile.d
|
|
|
|
for i in /etc/profile.d/*.sh ; do
|
2015-10-03 16:53:22 +02:00
|
|
|
if [ -r "$i" ]; then
|
|
|
|
. $i
|
|
|
|
fi
|
|
|
|
unset i
|
2011-10-19 09:36:02 +02:00
|
|
|
done
|