/[baselayout]/trunk/etc/profile
Gentoo

Diff of /trunk/etc/profile

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

Revision 353 Revision 354
7fi 7fi
8 8
9# 077 would be more secure, but 022 is generally quite realistic 9# 077 would be more secure, but 022 is generally quite realistic
10umask 022 10umask 022
11 11
12if [ "$LOGNAME" = 'root' ] 12if [ "$EUID" -eq 0 ]
13then 13then
14 # Do not set PS1 for dumb terminals 14 # Do not set PS1 for dumb terminals
15 if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] 15 if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ]
16 then 16 then
17 export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]' 17 export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]'

Legend:
Removed from v.353  
changed lines
  Added in v.354

  ViewVC Help
Powered by ViewVC 1.1.20