/[baselayout]/trunk/etc/profile
Gentoo

Diff of /trunk/etc/profile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 123 Revision 124
4fi 4fi
5 5
6#077 would be more secure, but 022 is generally quite realistic 6#077 would be more secure, but 022 is generally quite realistic
7umask 022 7umask 022
8 8
9if [ `/usr/bin/whoami` == 'root' ] ; then 9if [ `/usr/bin/whoami` = 'root' ] ; then
10 export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]' 10 export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'
11 export PATH=/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH} 11 export PATH=/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}
12else 12else
13 export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]' 13 export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'
14 export PATH=/bin:/usr/bin:${PATH} 14 export PATH=/bin:/usr/bin:${PATH}

Legend:
Removed from v.123  
changed lines
  Added in v.124

  ViewVC Help
Powered by ViewVC 1.1.13