svn commit: r242541 - in head: etc/root share/skel

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 4 01:00:36 UTC 2012


Author: bapt
Date: Sun Nov  4 01:00:35 2012
New Revision: 242541
URL: http://svn.freebsd.org/changeset/base/242541

Log:
  Change default prompt to show ~ again for the home directory
  
  Submitted by:	flo
  Approved by:	eadler

Modified:
  head/etc/root/dot.cshrc
  head/share/skel/dot.cshrc

Modified: head/etc/root/dot.cshrc
==============================================================================
--- head/etc/root/dot.cshrc	Sun Nov  4 00:46:01 2012	(r242540)
+++ head/etc/root/dot.cshrc	Sun Nov  4 01:00:35 2012	(r242541)
@@ -26,7 +26,7 @@ if ($?prompt) then
 	if ($uid == 0) then
 		set user = root
 	endif
-	set prompt = "%n@%m:%/ %# "
+	set prompt = "%n@%m:%~ %# "
 	set promptchars = "%#"
 
 	set filec

Modified: head/share/skel/dot.cshrc
==============================================================================
--- head/share/skel/dot.cshrc	Sun Nov  4 00:46:01 2012	(r242540)
+++ head/share/skel/dot.cshrc	Sun Nov  4 01:00:35 2012	(r242541)
@@ -26,7 +26,7 @@ if ($?prompt) then
 	if ($uid == 0) then
 		set user = root
 	endif
-	set prompt = "%n@%m:%/ %# "
+	set prompt = "%n@%m:%~ %# "
 	set promptchars = "%#"
 
 	set filec


More information about the svn-src-head mailing list