svn commit: r342645 - head/share/skel

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Dec 31 10:17:43 UTC 2018


Author: trasz
Date: Mon Dec 31 10:17:42 2018
New Revision: 342645
URL: https://svnweb.freebsd.org/changeset/base/342645

Log:
  Add current working directory to the default (although commented out) sh(1)
  prompt, so it looks just like the tcsh(1) one when you uncomment it.
  
  Reviewed by:	jilles
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D18673

Modified:
  head/share/skel/dot.shrc

Modified: head/share/skel/dot.shrc
==============================================================================
--- head/share/skel/dot.shrc	Mon Dec 31 07:57:37 2018	(r342644)
+++ head/share/skel/dot.shrc	Mon Dec 31 10:17:42 2018	(r342645)
@@ -32,8 +32,8 @@ alias g='egrep -i'
 # alias rm='rm -i'
 
 
-# # set prompt: ``username at hostname$ '' 
-# PS1="`whoami`@\h\\$ "
+# # set prompt: ``username at hostname:directory $ '' 
+# PS1="`whoami`@\h:\w \\$ "
 
 # search path for cd(1)
 # CDPATH=:$HOME


More information about the svn-src-all mailing list