From 72e7eb2c641df44f1ace93fa491d774f1e476e27 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Mon, 31 Dec 2018 10:17:42 +0000 Subject: [PATCH] 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 --- share/skel/dot.shrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index 5e32a5d21467..d88a456395a6 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -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