|
@@ -1,15 +1,11 @@
|
|
-export PATH=\
|
|
|
|
-/bin:\
|
|
|
|
-/sbin:\
|
|
|
|
-/usr/bin:\
|
|
|
|
-/usr/sbin
|
|
|
|
|
|
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
|
|
|
|
if [ "$PS1" ]; then
|
|
if [ "$PS1" ]; then
|
|
- if [ "`id -u`" -eq 0 ]; then
|
|
|
|
- export PS1='# '
|
|
|
|
- else
|
|
|
|
- export PS1='$ '
|
|
|
|
- fi
|
|
|
|
|
|
+ if [ "`id -u`" -eq 0 ]; then
|
|
|
|
+ export PS1='# '
|
|
|
|
+ else
|
|
|
|
+ export PS1='$ '
|
|
|
|
+ fi
|
|
fi
|
|
fi
|
|
|
|
|
|
export PAGER='/bin/more '
|
|
export PAGER='/bin/more '
|
|
@@ -17,8 +13,8 @@ export EDITOR='/bin/vi'
|
|
|
|
|
|
# Source configuration files from /etc/profile.d
|
|
# Source configuration files from /etc/profile.d
|
|
for i in /etc/profile.d/*.sh ; do
|
|
for i in /etc/profile.d/*.sh ; do
|
|
- if [ -r "$i" ]; then
|
|
|
|
- . $i
|
|
|
|
- fi
|
|
|
|
- unset i
|
|
|
|
|
|
+ if [ -r "$i" ]; then
|
|
|
|
+ . $i
|
|
|
|
+ fi
|
|
|
|
+ unset i
|
|
done
|
|
done
|