[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: joined command lines in history by LF
From: |
Chet Ramey |
Subject: |
Re: joined command lines in history by LF |
Date: |
Thu, 16 May 2019 16:03:38 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 5/16/19 7:57 AM, HIROSE Masaaki wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
>
> I set the following environment variable:
> - export HISTTIMEFORMAT='%Y-%m-%d %T '
> to show timestamp in history
> - export PROMPT_COMMAND='history -a; history -n'
> to share history between different terminals
>
> In this environment sometimes command lines in history are joined by LF.
Thanks for the report. This will be fixed in the next devel branch push.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/