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@hostname$ '' 
-# PS1="`whoami`@\h\\$ "
+# # set prompt: ``username@hostname:directory $ '' 
+# PS1="`whoami`@\h:\w \\$ "
 
 # search path for cd(1)
 # CDPATH=:$HOME
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to