From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@zsh.org
Subject: zsh doesn't load HISTFILE from readonly directory
Date: Sun, 13 Jun 2010 13:17:37 +0000 (UTC) [thread overview]
Message-ID: <slrni19mjh.hil.joerg@alea.gnuu.de> (raw)
Hi,
if the directory, containing the history file, is not writeable, zsh
doesn't load the data and I've not history. I've no problem that zsh
can't save the file, but I would like to have the history from the file.
% ls -ld /tmp/aaa
dr-xr-xr-x 2 joerg users 80 13. Jun 15:00 /tmp/aaa
% ls -l /tmp/aaa/.z*
-r-------- 1 joerg users 93 13. Jun 15:00 /tmp/aaa/.zhistfile
-rw-r--r-- 1 joerg users 26 13. Jun 15:00 /tmp/aaa/.zshrc
<1,5029>(ibook):~% cat /tmp/aaa/.zhistfile
: 1276430398:1;ls
: 1276430403:0;cd /tmp
: 1276430407:0;ls
: 1276430427:0;exec $ZSH_NAME -$-
% cat /tmp/aaa/.zshrc
HISTFILE=$HOME/.zhistfile
With this version, you get the history.
% HOME=/tmp/aaa zsh
ibook% fc -l
1 ls
2 cd /tmp
3 ls
4 exec $ZSH_NAME -$-
ibook% echo $ZSH_VERSION
4.3.10
But with this version, the history is empty.
% HOME=/tmp/aaa zsh-beta
ibook% fc -l
1 fc -l
ibook% echo $ZSH_VERSION
4.3.10-dev-1-cvs0603
Regards, Jörg
--
Gienger's Law (http://www.bruhaha.de/laws.html):
Die Wichtigkeit eines Newspostings im Usenet ist reziprok zur Anzahl der
enthaltenenen, kumulierten Ausrufungszeichen.
next reply other threads:[~2010-06-13 14:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-13 13:17 Jörg Sommer [this message]
2010-06-14 14:05 ` Peter Stephenson
2010-06-14 14:16 ` Peter Stephenson
2010-06-17 16:07 ` Peter Stephenson
2010-06-22 11:02 ` Peter Stephenson
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=slrni19mjh.hil.joerg@alea.gnuu.de \
--to=joerg@alea.gnuu.de \
--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).