Changeset 3669

Show
Ignore:
Timestamp:
03/26/09 18:48:14 (12 months ago)
Author:
jnixon
Message:

Changed prompt in .cshrc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/system-overlay/usr/share/skel/dot.cshrc

    r3566 r3669  
    66# 
    77 
    8 alias h         history 25 
     8alias h         history 100  
    99alias j         jobs -l 
    1010alias la        ls -a 
     
    2626if ($?prompt) then 
    2727        # An interactive shell -- set some stuff up 
    28         set prompt = "`/usr/bin/whoami`@`/bin/hostname -s`% " 
     28    if ( `whoami` == root ) then 
     29        set prompt="%B[root@%m]%b%/(%h)# " 
     30    else 
     31        set prompt="%B[%n@%m]%b%/(%h)% " 
     32    endif 
    2933        set filec 
    3034        set history = 100