From: Bart Schaefer <schaefer@brasslantern.com>
To: François <aifsair@gmail.com>
Cc: zsh-workers@zsh.org, aifsair+zsh@gmail.com
Subject: Re: Issue with history
Date: Wed, 14 Mar 2012 17:58:36 -0700 [thread overview]
Message-ID: <CAH+w=7You6CxtLnopg1GacermtRrd4ArYKXgmrFX4GyOEiz1KA@mail.gmail.com> (raw)
In-Reply-To: <89C1220D-AAB7-4B84-9B8C-0F2F10749CDB@gmail.com>
On Wed, Mar 14, 2012 at 2:59 AM, François <aifsair@gmail.com> wrote:
>
> There is still a big change that appeared in my .zsh_history:
>
> […]
> vim .emacs
> find . -name '*.c'
> open -a emacs Downloads/ddns-1.0/message.c
So, where did you execute those particular commands?
It begins to appear that you (unintentionally) have history configured
differently for login shells as compared to other interactive shells.
For example, /etc/zlogin may be resetting some history options and
thereby replacing the ones that you have in your .zshrc.
Try running
zsh -x -i 2> /tmp/zshxi
zsh -x -l 2> /tmp/zshxl
diff -u /tmp/zshxi /tmp/zshxl | more
then search through the diff for unexpected setopt commands, etc.
next prev parent reply other threads:[~2012-03-15 0:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 16:41 François
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 [this message]
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='CAH+w=7You6CxtLnopg1GacermtRrd4ArYKXgmrFX4GyOEiz1KA@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=aifsair+zsh@gmail.com \
--cc=aifsair@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).