From: carlos@fisica.ufpr.br (Carlos Carvalho)
To: zsh-users@sunsite.dk
Subject: Re: maximum value for HISTSIZE ?
Date: Sat, 1 Apr 2006 16:10:00 -0300 [thread overview]
Message-ID: <17454.53256.226288.104396@fisica.ufpr.br> (raw)
Andy Spiegl (zsh.Andy@spiegl.de) wrote on 30 March 2006 14:26:
>I am lazy and forget a lot, so I set HISTSIZE to 150000.
>But now I frequently get to see:
> _all_labels:39: subscript too big: 318937
I don't know the answer but I have a similar usage problem: keep only
the interesting lines in history. As a workaround I do the following:
- set the the following options
histignorealldups
histignorespace
histnostore
- define several aliases of the form ls=' ls', free=' free', etc to
avoid having them go to the hist file and running zsh list.
I also type most of the easy commands beginning with a space for the
same reason.
>So is there a maximum value or/and on what does it depend?
>
>BTW, I'd love to see an option like HIST_EXPIRE_ShortLines_FIRST
>so that really short history lines like "ls", "du -sh" etc. expire
>before long and complicated ones. Maybe even with a configurable
>line length.
Me too! I recognize however that a developer might find this hmm...
not of particularly high priority...
next reply other threads:[~2006-04-01 19:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-01 19:10 Carlos Carvalho [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-04-10 17:17 Wayne Davison
2006-04-10 17:04 Barton Schaefer
2006-04-10 13:57 Andy Spiegl
2006-04-02 6:54 Bart Schaefer
2006-04-02 0:33 Andy Spiegl
2006-04-01 22:29 Bart Schaefer
2006-04-01 20:47 Andy Spiegl
2006-04-01 9:32 Andy Spiegl
2006-03-30 12:26 Andy Spiegl
2006-03-30 12:58 ` Francisco Borges
2006-03-30 15:18 ` Andy Spiegl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17454.53256.226288.104396@fisica.ufpr.br \
--to=carlos@fisica.ufpr.br \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).