zsh-workers
 help / color / mirror / code / Atom feed
From: François <aifsair@gmail.com>
To: zsh-workers@zsh.org
Cc: aifsair+zsh@gmail.com
Subject: Issue with history
Date: Thu, 8 Mar 2012 17:41:19 +0100	[thread overview]
Message-ID: <160F1AB7-045E-4DF7-81FE-75D9BAC85523@gmail.com> (raw)

Hello there,

after a talk on IRC, ft asked me to report this on that mailing. Please leave the CC: so that I get answer without need to subscribe to this list.

So here are the facts, with my history file (HISTFILE=$HOME/.zsh_history) available here ( http://www.fser.lautre.net/zsh-history.txt ), 
I couldn't retrieve all the entries from my history file.

$ history  # would only produce something like 30 entries
$ history 1 # would add few entries but not much
$ wc -l ~/.zsh_history # would return 1035+ lines (I removed some on the online version)

As far as I remember, I didn't changed any parameters.
I just added the shared_history parameter right now, which explains the timestamp on the file.

After a complete flush of the file, I get a "normal" behaviour.

$ history # gives me 25 lines, didn't find that parameter though
$ history 1 # gives me commands from number 1 so everything looks ok

I don't know if this mail is a bug report, but there is definitely something I don't understand here.

Thanks for reading.

--
François


             reply	other threads:[~2012-03-08 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08 16:41 François [this message]
2012-03-08 18:28 ` Bart Schaefer
2012-03-08 23:05   ` François
2012-03-09  3:25     ` Bart Schaefer
2012-03-14  9:59       ` François
2012-03-15  0:58         ` Bart Schaefer
2012-03-15 10:13           ` François

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=160F1AB7-045E-4DF7-81FE-75D9BAC85523@gmail.com \
    --to=aifsair@gmail.com \
    --cc=aifsair+zsh@gmail.com \
    --cc=zsh-workers@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).