[PC-BSD Commits] r3669 - pcbsd/trunk/system-overlay/usr/share/skel

svn at pcbsd.org svn at pcbsd.org
Thu Mar 26 17:48:14 PST 2009


Author: jnixon
Date: 2009-03-26 18:48:14 -0700 (Thu, 26 Mar 2009)
New Revision: 3669

Modified:
   pcbsd/trunk/system-overlay/usr/share/skel/dot.cshrc
Log:
Changed prompt in .cshrc

Modified: pcbsd/trunk/system-overlay/usr/share/skel/dot.cshrc
===================================================================
--- pcbsd/trunk/system-overlay/usr/share/skel/dot.cshrc	2009-03-26 20:08:44 UTC (rev 3668)
+++ pcbsd/trunk/system-overlay/usr/share/skel/dot.cshrc	2009-03-27 01:48:14 UTC (rev 3669)
@@ -5,7 +5,7 @@
 # see also csh(1), environ(7).
 #
 
-alias h		history 25
+alias h		history 100 
 alias j		jobs -l
 alias la	ls -a
 alias lf	ls -FA
@@ -25,7 +25,11 @@
 
 if ($?prompt) then
 	# An interactive shell -- set some stuff up
-	set prompt = "`/usr/bin/whoami`@`/bin/hostname -s`% "
+    if ( `whoami` == root ) then
+        set prompt="%B[root@%m]%b%/(%h)# "
+    else
+        set prompt="%B[%n@%m]%b%/(%h)% "
+    endif
 	set filec
 	set history = 100
 	set savehist = 100



More information about the Commits mailing list