Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 01:00:35 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242541 - in head: etc/root share/skel
Message-ID:  <201211040100.qA410ZDj081387@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211040100.qA410ZDj081387>