zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: ZyX <kp-pav@yandex.ru>
Cc: Robin Dapp <rdapp@linux.vnet.ibm.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Memory usage of history?
Date: Sat, 25 Jun 2016 10:46:29 -0700	[thread overview]
Message-ID: <CAH+w=7bqb2qLpRYLyT7NeQwP978JsxUx4=o-ozKNqf4ybi=gGg@mail.gmail.com> (raw)
In-Reply-To: <6323851466876031@web5m.yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

On Jun 25, 2016 10:33 AM, "Nikolay Aleksandrovich Pavlov (ZyX)" <
kp-pav@yandex.ru> wrote:
> I have no idea how one may construct “zshaddhistory function” that
“filters out commands that are unlikely to be used again” without somehow
know what these stats will be in the future.

As an example, if any command I type contains an argument "foo" "bar" or
"baz" it is probably a throwaway.  There must be other similar criteria,
e.g., why ever save "cd .."?

  reply	other threads:[~2016-06-25 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 13:47 Dominik Vogt
2016-06-24 22:57 ` Eric Cook
2016-06-25  1:47 ` Bart Schaefer
2016-06-25 17:33   ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-06-25 17:46     ` Bart Schaefer [this message]
2016-06-26 23:29     ` Bart Schaefer
2016-06-27  0:23       ` Nikolay Aleksandrovich Pavlov (ZyX)

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='CAH+w=7bqb2qLpRYLyT7NeQwP978JsxUx4=o-ozKNqf4ybi=gGg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=kp-pav@yandex.ru \
    --cc=rdapp@linux.vnet.ibm.com \
    --cc=zsh-users@zsh.org \
    /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).