1234567891011121314151617181920 |
- export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-
- if [ "$PS1" ]; then
- if [ "`id -u`" -eq 0 ]; then
- export PS1='\e[0;31m[\u@\h:\w]# \e[m'
- else
- export PS1='\e[0;34m[\u@\h:\w]$ \e[m'
- fi
- fi
-
- export PAGER='/bin/more '
- export EDITOR='/bin/vi'
-
- # Source configuration files from /etc/profile.d
- for i in /etc/profile.d/*.sh ; do
- if [ -r "$i" ]; then
- . $i
- fi
- unset i
- done
|