Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.1
From:
Piotr Grzybowski
Subject:
Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53
Date:
Tue, 4 Nov 2014 22:48:38 +0100
On Tue, Nov 4, 2014 at 10:44 PM, Graham Jones
<your-name-here@grahamjones.org> wrote:
> Now I was expecting a hole in the file, but when I finally get to see the
> contents, I have 500,000 ls commands in there (one of my test commands from
> above)
just for the record, now I have $HISTSIZE
i=0; while [ $i -lt 25 ]; do history -a; history -n; let i++; done;
commands in .bash_history :)
cheers,
pg
P.S.
pity I really needed those ;-)