minor error in skel/.bashrc

Adam Dinwoodie adam@dinwoodie.org
Sat Mar 5 13:25:22 GMT 2022


On Sat, Mar 05, 2022 at 09:26:06AM +0300, lvm wrote:
>  The identical /etc/skel/.bashrc and /etc/defaults/etc/skel/.bashrc contain
> the same line
> 
> # export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
> 
> But HISTCONTROL values should be colon separated, not comma separated. This
> line is commented out, but if someone like me tries to use it without much
> thinking...

Confirmed.

Achim, I've attached a patch that should fix this, based on the tip of
https://sourceware.org/git/cygwin-apps/base-files.git

HTH

Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correct-HISTCONTROL-in-.bashrc.patch
Type: text/x-diff
Size: 1277 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20220305/170f8966/attachment.bin>


More information about the Cygwin mailing list