Date: Sun, 06 Jan 2019 08:49:54 -0800 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Edward Tomasz Napierala <trasz@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r342812 - head/share/skel Message-ID: <201901061649.x06GnsJK017236@slippy.cwsent.com> In-Reply-To: Message from Edward Tomasz Napierala <trasz@FreeBSD.org> of "Sun, 06 Jan 2019 16:23:28 %2B0000." <201901061623.x06GNS1w057147@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <201901061623.x06GNS1w057147@repo.freebsd.org>, Edward Tomasz Napier ala writes: > Author: trasz > Date: Sun Jan 6 16:23:28 2019 > New Revision: 342812 > URL: https://svnweb.freebsd.org/changeset/base/342812 > > Log: > Give sh(1) a proper default prompt instead of just "$". > > Reviewed by: jilles > MFC after: 2 weeks > Relnotes: totally > Sponsored by: DARPA, AFRL > Differential Revision: https://reviews.freebsd.org/D18697 > > Modified: > head/share/skel/dot.shrc > > Modified: head/share/skel/dot.shrc > ============================================================================= > = > --- head/share/skel/dot.shrc Sun Jan 6 05:07:52 2019 (r342811) > +++ head/share/skel/dot.shrc Sun Jan 6 16:23:28 2019 (r342812) > @@ -32,8 +32,8 @@ alias g='egrep -i' > # alias rm='rm -i' > > > -# # set prompt: ``username@hostname:directory $ '' > -# PS1="`whoami`@\h:\w \\$ " > +# set prompt: ``username@hostname:directory $ '' > +PS1="`whoami`@\h:\w \\$ " > > # search path for cd(1) > # CDPATH=:$HOME > Hmmm. At $JOB the RHEL servers use this prompt. IMO the prompt is unwieldy and distracting. Instead of \w could we use \W instead? -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901061649.x06GnsJK017236>