From: Eric Cook <llua@gmx.com>
To: zsh-workers@zsh.org
Subject: Re: zsh: corrupt history file
Date: Wed, 29 Jul 2020 11:21:03 -0400 [thread overview]
Message-ID: <45badc15-202a-72f6-a87a-ee058283279e@gmx.com> (raw)
In-Reply-To: <271b648e-9c30-3333-cfca-dedf8df9e248@barella.org>
On 7/29/20 11:15 AM, Perette Barella wrote:
> I tracked down the export, removing it works. Must have put that in the .zshrc 5 years ago, when I first looked at it, before deciding it was broken because the history kept getting corrupt.
>
> Perhaps update the man page for $HISTFILE:
exporting most shell variables commonly used among shells result in that kind of weirdness.
another one people (mis)commonly export is PS1. i don't think adding such an warning to each
variable would yield much of a result when people seem to think that using export is required
to set variables, ignorant of the differences in environment variables and shell variables.
next prev parent reply other threads:[~2020-07-29 15:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 14:32 Perette Barella
2020-07-29 14:39 ` Roman Perepelitsa
2020-07-29 15:15 ` Perette Barella
2020-07-29 15:21 ` Eric Cook [this message]
2020-07-29 23:07 ` Daniel Shahaf
2020-07-30 3:56 ` Eric Cook
2020-07-30 4:30 ` Daniel Shahaf
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=45badc15-202a-72f6-a87a-ee058283279e@gmx.com \
--to=llua@gmx.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).