Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
can't set HISTFILE to /dev/null
- X-seq: zsh-users 16098
- From: Danek Duvall <duvall@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: can't set HISTFILE to /dev/null
- Date: Thu, 23 Jun 2011 12:46:24 -0700
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxxxxx>, zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
A colleague of mine saw this today:
zsh: locking failed for /dev/null: operation not supported: reading anyway
Turns out he was setting HISTFILE=/dev/null, rather than unsetting it.
4.3.10 was silent in this case, but 4.3.12 now complains. Is this
intentional?
I've not seen the ENOTSUP, but he was doing something with zones that might
have changed the situation a bit. Still, if I do
HISTFILE=/dev/null
fc -R
then I see
zsh: locking failed for /dev/null: permission denied: reading anyway
and it appears to be coming from the same place in the code.
Thanks,
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author