Hi Graham, On Tue, Nov 4, 2014 at 10:19 PM, Graham Jones <your-name-h...@grahamjones.org> wrote: > Really? Very interesting. > I assume that it’s not reproducible with the version of bash that ships with > 10.6.8 however?
not exactly the version shipped with 10.6.8, more like installed by hand: # which bash /opt/local/bin//bash > Not at all. I keep my history for a long time and have an arbitrarily large > HISTSIZE. However, after the recent Yosemite upgrade, histories were > truncated, so it’s relatively empty and nowhere near the level of > HISTFILESIZE after the 20 or so returns that I enter reproduce it (and I’m > not sure that just hitting enter even puts anything in the history). well, thats strange, but it means that this also should do the trick, without setting PROMPT_COMMAND: # i=0; while [ $i -lt 25 ]; do history -a; history -n; let i++; done; it actually does for me, anything above 24 in the upper limit of the above loop triggers the issue (no PROMPT_COMMAND set anywhere). at the same time, the same loop does nothing out of the ordinary on linux/i386 with bash--version: #bash --version GNU bash, version 4.3.30(1)-release (i686-pc-linux-gnu) > Here are the details you wanted: [..] thanks, nice HISTSIZE btw ;-) cheers, pg