From f6d3cd4b9ec712d771b0d29bf1c0164607499df2 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 28 Dec 2018 17:50:40 +0000 Subject: [PATCH] Simplify the way we set the default sh(1) PS1. No functional changes. Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18662 --- share/skel/dot.shrc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index e56256e5bd7d..5e32a5d21467 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -33,11 +33,7 @@ alias g='egrep -i' # # set prompt: ``username@hostname$ '' -# PS1="`whoami`@`hostname | sed 's/\..*//'`" -# case `id -u` in -# 0) PS1="${PS1}# ";; -# *) PS1="${PS1}$ ";; -# esac +# PS1="`whoami`@\h\\$ " # search path for cd(1) # CDPATH=:$HOME