X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=G1+h VYaHDr2WRCCegJF+RYJhZy1Rl1WjQkDzqGnklBgiqv5EcG/IPjlYiQS1DceFalKM ZMd+0qQrghl2o1y9OFOTVjQZZ8z7WLdgYCnntHsu9qX97H4HS6PaU1OXwb8NDCp/ ZImO+6+1AMm54j9+ykDcFJk4wXz1mk1JY1Jel0g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=pJAmOpqbTj DKJNRjS6Sl/uYlTRI=; b=WXSFR6GJtNpN0iU4sSdluaC5qNWK0cY9ueue7XYVqN lHOM/xI6KdoAyJet+K54KXJmMfXt07Jf1a+97h+5WdpVxwHrF7KdhulbxUcDYZiT QBFisGlIVrDVTRBQUg6Ta35w5mQANKggw/0VzcUeYKe4qOWhpRMXVXKiEyyUHHzs Y= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Subject: Re: go through duplicate commands To: cygwin AT cygwin DOT com, esotopia AT hotmail DOT com References: From: Eric Blake Openpgp: preference=signencrypt Message-ID: <032bd33b-6bd9-2cce-da7b-42ac0d555d1a@redhat.com> Date: Tue, 21 May 2019 11:17:48 -0500 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 --9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ Content-Type: multipart/mixed; boundary="C4Xutw7ZxXfnjxsDa97ReuJ4dwofOI3C5"; protected-headers="v1" From: Eric Blake To: cygwin AT cygwin DOT com, esotopia AT hotmail DOT com Message-ID: <032bd33b-6bd9-2cce-da7b-42ac0d555d1a AT redhat DOT 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 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" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlzkJKwACgkQp6FrSiUn Q2qw1ggAkzM1Xn7rTlMsDViZ9EOU7ZXBiVsKrZqT9w+Iea7uSIW9ZE9FF19TbE81 duEU08dLJ3a4fUW+3j03jGRo3eqlmtycQMXB9o/u22+3zF+0rLB9GRHAOJu9ZPyZ GdkEScaZcQuHexGFfQVB7heaBAxkbhOQWHQYBcsCuJy1ojFdtLL2KXZ4JCvOwemm SPNAO5K3numxN8EktkqB5tDSKFvi9glXOi31eTEsbamOeGthHkLu2BQU9sLUkaTF pRXfajeot3h/xM1kqXbjdbWnWEQqrufJgHxokqxZ0JQIhwMg2m0nb6/xWgi96J7B Bj07z02Ez+wgMJlp4N34v1CKBXbBcA== =8X5n -----END PGP SIGNATURE----- --9rTs7sQMgkF7nDE6uvRt6FshF0UMSAKSQ--