* History file not being written
@ 2001-10-18 21:47 Jesper Holmberg
2001-10-18 22:12 ` Zefram
[not found] ` <200110182156.f9ILuZ200432@bang.houseoflove>
0 siblings, 2 replies; 3+ messages in thread
From: Jesper Holmberg @ 2001-10-18 21:47 UTC (permalink / raw)
To: zsh-users
Hi all,
question #1 from a newly-converted bash-user:
I can't get my histfile to work. I have put these lines in my .zshrc:
HISTFILE=~/.zsh_history
HISTSIZE=5000
HISTFILESIZE=5000
setopt APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE
setopt HIST_REDUCE_BLANKS
But this doesn't seem to work; my histfile never gets started. When I
exit zsh, no file is created or written to. What am I doing wrong?
TIA,
Jesper
--
Jesper Holmberg |"But how can |
jesper.holmberg@enst-bretagne.fr | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?" |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: History file not being written
2001-10-18 21:47 History file not being written Jesper Holmberg
@ 2001-10-18 22:12 ` Zefram
[not found] ` <200110182156.f9ILuZ200432@bang.houseoflove>
1 sibling, 0 replies; 3+ messages in thread
From: Zefram @ 2001-10-18 22:12 UTC (permalink / raw)
To: Jesper Holmberg; +Cc: zsh-users
Jesper Holmberg wrote:
>HISTFILE=~/.zsh_history
>HISTSIZE=5000
>HISTFILESIZE=5000
You want to set SAVEHIST, not HISTFILESIZE.
-zefram
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: History file not being written
[not found] ` <200110182156.f9ILuZ200432@bang.houseoflove>
@ 2001-10-19 9:23 ` Jesper Holmberg
0 siblings, 0 replies; 3+ messages in thread
From: Jesper Holmberg @ 2001-10-19 9:23 UTC (permalink / raw)
To: zsh-users
* On Thu Oct 18, Drew Perttula wrote:
> I'm using this (and it works):
> HISTSIZE=1000
> HISTFILE=~/.zsh_history
> SAVEHIST=1000
* On Thu Oct 18, Zefram wrote:
> You want to set SAVEHIST, not HISTFILESIZE.
Drew, Zefram: thanks, that's what I had missed. The "histfilesize" must
have slunk in there from my previous bash-files.
Jesper
--
Jesper Holmberg | tel: +33.2.29.00.21.75 |"But how can |
jesper.holmberg@enst-bretagne.fr | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?" |
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-19 9:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-18 21:47 History file not being written Jesper Holmberg
2001-10-18 22:12 ` Zefram
[not found] ` <200110182156.f9ILuZ200432@bang.houseoflove>
2001-10-19 9:23 ` Jesper Holmberg
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).