From owner-svn-src-all@freebsd.org Sun Jan 6 21:08:57 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F268A149BE48; Sun, 6 Jan 2019 21:08:56 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F5D691364; Sun, 6 Jan 2019 21:08:56 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-oi1-f194.google.com with SMTP id t204so34369602oie.7; Sun, 06 Jan 2019 13:08:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gKPyewuxyWWvos0BCCNHHn7wwi1gRwzIaUPcP6Deflg=; b=ZXhwmIDPe8kARP8ANNWePXzG4h842WrwuAGuUBiYaa/XOSZ9KblO3IBezmOsFmU2+U MfSsyUJl+7g5AvSVG07faGBbkUR5pNjSWjEURfnIAf2j+L+WHYUtNOJuejb4VK535K+6 7GQBM4Nzrh0jn3yN8VlhFXJi6JaAzzchZp4ym1EZEwDIUCqexqmM5M1QhEpznDX4aPeF YTU3KFaNNLWWV69Robopy9k9e+FUX/X8FMM8NwPahxIuk3qt7IehdXiruriC47pzLpiR uzifhW6k/2kBr8YPOEXqQIBG4oFlcpXg00ES4plVS2rvl8Hr+JivJW8W4emSmKmxjIik zruw== X-Gm-Message-State: AJcUukfA8NtzHgzvgkMTxqj+8xgQThhfrvcTngG81cMC1i2ssyq6KRVA lZj3EOzFnrShvWOLVURLbN0pey+z6htQj8MF0Do= X-Google-Smtp-Source: ALg8bN6FjCsB+sAuk3GiCHRD586qM0GdlE7C5T10zsw/oAnHx6PGmxlv+AgAr9Uw2MCSV77LNyLw0sB6VqlXDibSICA= X-Received: by 2002:aca:51c6:: with SMTP id f189mr6191189oib.281.1546807172365; Sun, 06 Jan 2019 12:39:32 -0800 (PST) MIME-Version: 1.0 References: <201901061623.x06GNS1w057147@repo.freebsd.org> <201901061649.x06GnsJK017236@slippy.cwsent.com> In-Reply-To: <201901061649.x06GnsJK017236@slippy.cwsent.com> From: Edward Napierala Date: Sun, 6 Jan 2019 20:39:21 +0000 Message-ID: Subject: Re: svn commit: r342812 - head/share/skel To: Cy Schubert Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 8F5D691364 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2019 21:08:57 -0000 niedz., 6 sty 2019 o 16:50 Cy Schubert napisa= =C5=82(a): > > 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 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > =3D > > --- 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=3D'egrep -i' > > # alias rm=3D'rm -i' > > > > > > -# # set prompt: ``username@hostname:directory $ '' > > -# PS1=3D"`whoami`@\h:\w \\$ " > > +# set prompt: ``username@hostname:directory $ '' > > +PS1=3D"`whoami`@\h:\w \\$ " > > > > # search path for cd(1) > > # CDPATH=3D:$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? The whole point of this change is to make things a little less weird for newcomers; existing users either use one of the shells from ports, or just carry their own shell rc file with their preferred PS1; either way they probably won't even notice. That's why I chose to follow the _actual_ status quo, both in FreeBSD (the new prompt is the same as the csh(1) one, apart from the '$') and Linux. Thus the '\w'.