[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature-request: don't count history time comment lines when in HIST
From: |
Chet Ramey |
Subject: |
Re: feature-request: don't count history time comment lines when in HISTFILESIZE |
Date: |
Fri, 27 Mar 2015 08:17:09 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 3/26/15 8:28 PM, Christoph Anton Mitterer wrote:
> So why not make a thrid mode like:
> - if cmdhist=on lithist=not-in-file
> which keeps:
> if true; then\n
> echo foo\n
> fi
> in the history
> but writes the serialised "if true; then echo foo ; fi" to the history
> file.
Because there are a number of keywords and metacharacters that can be
followed by a newline but not a semicolon (e.g. `while'). There's just
not a one-for-one correspondence.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, (continued)
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Eric Blake, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE,
Chet Ramey <=
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/25
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Chet Ramey, 2015/03/26
- Re: feature-request: don't count history time comment lines when in HISTFILESIZE, Christoph Anton Mitterer, 2015/03/26