This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: go through duplicate commands


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.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]