delorie.com/archives/browse.cgi | search |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=d4JRsrluU4T01RJp | |
07GpA0gftZ/iD5YC8HNFlGTO2QQsqaP7a4aiOcM/dGYm2HtXIfSH85EF3hUdL+lw | |
0dgFfdZp1FAAam03nWMLz6Ko0W2Js+zo3pIDTt9yof/lECi7BnBTYgs91hpY7AU6 | |
SqgashK7Nvk2VpoximMb0DiAjLk= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=/rikFE5NtlsAE54k7DM3GR | |
hMfDk=; b=JIHlFUAczGudID8Y/1lEs7VJgBxGmxqnjYXqQOSViasNWIESigf9B4 | |
9Mb8Gnu3Oi7A4GBrLhK/1plhbmubTvpSMpcidgmxgIgKuuvkF5sJdMdZST1JzZP1 | |
i9+Pv/oNQip+Hyy6K8QVXkWrav1kbiyhFvqavthsDPIOMoiauxOWc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*Ad:D*ca, HX-Languages-Length:850, H*F:D*ca |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: go through duplicate commands |
To: | cygwin AT cygwin DOT com |
References: | <MN2PR01MB5357965B2C1AE8C58EA6344ED5070 AT MN2PR01MB5357 DOT prod DOT exchangelabs DOT com> <032bd33b-6bd9-2cce-da7b-42ac0d555d1a AT redhat DOT com> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <ae888c5c-87c3-1029-917b-25814ddbaba0@SystematicSw.ab.ca> |
Date: | Tue, 21 May 2019 23:46:28 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
MIME-Version: | 1.0 |
In-Reply-To: | <032bd33b-6bd9-2cce-da7b-42ac0d555d1a@redhat.com> |
X-IsSubscribed: | yes |
On 2019-05-21 10:17, Eric Blake wrote: > 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 neat. > > '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=ignoredups 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. To get the result you probably expect set "HISTCONTROL=ignoreboth:erasedups" -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |