Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Memory usage of history?
- X-seq: zsh-users 21707
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: ZyX <kp-pav@xxxxxxxxx>
- Subject: Re: Memory usage of history?
- Date: Sat, 25 Jun 2016 10:46:29 -0700
- Cc: Robin Dapp <rdapp@xxxxxxxxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=p0UOKoxItSyLP6mS37qjX6B3rlvOs/KQaLQa5xMMYE4=; b=JhisJ+RGd3g3OFP/aN4HTXGWiehNTpnFcfi8T/rUaacYbISxkQW4qVLzl00BCFYRNf Mjtoy5cuXzMv4d0dywD0ZYx3hlIDmcMTAa2JMJBclTvMi7QURmBY2VONiBoPqyuCZlyk u3tnaKV3gpC2MBrWWi/t77UT+yP7UqDYVtCrQpE4pYWfNoe1IYfu2IOtoi4jWkybDUSo PenmYt2Gex0iX4a+P3KLMLLwmUPqdM01NY94m8GC1nycmGqpAD4PbG9zqVALYp4QgQK8 GIXpdls6XQ4l6gXgNZTuHm/lH03wL/MMW4NPXEUbXeeW4Wfuy81QGfE2FdHZtDIpbvZB 0xbA==
- In-reply-to: <6323851466876031@web5m.yandex.ru>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20160624134706.GA22704@linux.vnet.ibm.com> <CAH+w=7YQz6iaJf0k=OkX2bQSL26ohU3wLRVYgki_Z6jLOYpzSw@mail.gmail.com> <6323851466876031@web5m.yandex.ru>
On Jun 25, 2016 10:33 AM, "Nikolay Aleksandrovich Pavlov (ZyX)" <
kp-pav@xxxxxxxxx> 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 .."?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author