From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57364 invoked by alias); 21 May 2019 16:18:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 57308 invoked by uid 89); 21 May 2019 16:18:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=linuxes, neat, specifics, principal X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 May 2019 16:18:01 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1E1A7C04FF86; Tue, 21 May 2019 16:17:50 +0000 (UTC) Received: from [10.3.116.56] (ovpn-116-56.phx2.redhat.com [10.3.116.56]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4BF86085B; Tue, 21 May 2019 16:17:49 +0000 (UTC) Subject: Re: go through duplicate commands To: cygwin@cygwin.com, esotopia@hotmail.com References: From: Eric Blake Openpgp: preference=signencrypt Message-ID: <032bd33b-6bd9-2cce-da7b-42ac0d555d1a@redhat.com> Date: Tue, 21 May 2019 16:18:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ" X-IsSubscribed: yes X-SW-Source: 2019-05/txt/msg00198.txt.bz2 --9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ Content-Type: multipart/mixed; boundary="C4Xutw7ZxXfnjxsDa97ReuJ4dwofOI3C5"; protected-headers="v1" From: Eric Blake To: cygwin@cygwin.com, esotopia@hotmail.com Message-ID: <032bd33b-6bd9-2cce-da7b-42ac0d555d1a@redhat.com> Subject: Re: go through duplicate commands References: In-Reply-To: --C4Xutw7ZxXfnjxsDa97ReuJ4dwofOI3C5 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 636 On 5/21/19 11:10 AM, A GS wrote: > What about making "up" go through duplicate commands? I think this is the= behaviour on some linuxes but I don't know the specifics. That would be ne= at. 'info bash HISTCONTROL' It sounds like you are asking for the Cygwin /etc/profile (or the skeleton .bashrc file) to be tweaked to add a HISTCONTROL=3Dignoredups so that new installations automatically turn on that feature of bash. But in the meantime, you can modify your own ~/.bashrc to turn it on for yourself. --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org --C4Xutw7ZxXfnjxsDa97ReuJ4dwofOI3C5-- --9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 488 -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlzkJKwACgkQp6FrSiUn Q2qw1ggAkzM1Xn7rTlMsDViZ9EOU7ZXBiVsKrZqT9w+Iea7uSIW9ZE9FF19TbE81 duEU08dLJ3a4fUW+3j03jGRo3eqlmtycQMXB9o/u22+3zF+0rLB9GRHAOJu9ZPyZ GdkEScaZcQuHexGFfQVB7heaBAxkbhOQWHQYBcsCuJy1ojFdtLL2KXZ4JCvOwemm SPNAO5K3numxN8EktkqB5tDSKFvi9glXOi31eTEsbamOeGthHkLu2BQU9sLUkaTF pRXfajeot3h/xM1kqXbjdbWnWEQqrufJgHxokqxZ0JQIhwMg2m0nb6/xWgi96J7B Bj07z02Ez+wgMJlp4N34v1CKBXbBcA== =8X5n -----END PGP SIGNATURE----- --9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ--