25 lines
418 B
Bash
Executable File
25 lines
418 B
Bash
Executable File
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
|
|
|
export EDITOR='/bin/vi'
|
|
|
|
#export PS1='[\u@\h \W]# '
|
|
if [ "$PS1" ]; then
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
#export PS1='# '
|
|
export PS1='[\u@\h \W]# '
|
|
else
|
|
#export PS1='$ '
|
|
export PS1='[\u@\h \W]$ '
|
|
fi
|
|
fi
|
|
|
|
# Source configuration files from /etc/profile.d
|
|
for i in /etc/profile.d/*.sh ; do
|
|
if [ -r "$i" ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|
|
|
|
|