[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: greater-than + number sign = newlines in history
From: |
Chet Ramey |
Subject: |
Re: greater-than + number sign = newlines in history |
Date: |
Mon, 4 May 2020 09:11:53 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/3/20 9:58 AM, Tobias Wendorff wrote:
> On IRC, an user gave me the hint to set `shopt -s lithist`, which seems
> to work. The documentation of `lithist` is very ambiguous, so I don't
> know the downside of this option.
It means that the history list contains the command as you typed it, with
bash in command-oriented history mode trying its best to keep multi-line
commands in the same history entry.
--
``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/