From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8M0M-0001fF-14 for guix-patches@gnu.org; Sat, 28 Oct 2017 03:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8M0I-0000CX-WA for guix-patches@gnu.org; Sat, 28 Oct 2017 03:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8M0I-0000C7-TS for guix-patches@gnu.org; Sat, 28 Oct 2017 03:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8M0I-0000NY-Br for guix-patches@gnu.org; Sat, 28 Oct 2017 03:58:02 -0400 Subject: [bug#29035] [PATCH 1/2] skel: Test for interactive shell instead of $SSH_CLIENT in .bashrc. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87mv4cxi9n.fsf@fastmail.com> <20171027235357.28600-1-mbakke@fastmail.com> Date: Sat, 28 Oct 2017 09:57:33 +0200 In-Reply-To: <20171027235357.28600-1-mbakke@fastmail.com> (Marius Bakke's message of "Sat, 28 Oct 2017 01:53:56 +0200") Message-ID: <87lgjv7lhu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 29035@debbugs.gnu.org Heya, Marius Bakke skribis: > * gnu/system/shadow.scm (default-skeletons): Instead of testing for > $SSH_CLIENT, check whether '$-' includes the letter 'i'. That=E2=80=99s an improvement indeed, LGTM! Ludo=E2=80=99, who can still learn new things about Bash after all these ye= ars.