Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[RFC PATCH 0/3] Improve defaults
- X-seq: zsh-workers 50499
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- Subject: [RFC PATCH 0/3] Improve defaults
- Date: Tue, 23 Aug 2022 23:31:42 -0500
- Archived-at: <https://zsh.org/workers/50499>
- List-id: <zsh-workers.zsh.org>
It doesn't make much sense to specify so many options when simple
defaults can do it.
So instead of this:
HISTFILE ~/.histfile
HISTSIZE 1000
SAVEHIST 1000
We can just do:
HISTFILE ~/.histfile
I personally don't see the need to specify a file when virtually every
software dumps their history by default, but it's a start.
From what I can see most people simply set SAVEHIST to HISTSIZE, so it
makes sense to have a value to make them equal by default. I used -1.
I've tried for a while have the most minimal .zshrc file that is useful,
and never is that small. This should help.
Felipe Contreras (3):
Make SAVEHIST default to HISTSIZE
Increase default HISTSIZE to 1000
FAQ: sync newuser-install
Etc/FAQ.yo | 19 ++++++-------------
Functions/Newuser/zsh-newuser-install | 2 --
Src/builtin.c | 2 +-
Src/hist.c | 14 ++++++++++----
Src/init.c | 1 +
StartupFiles/zshrc | 2 +-
configure.ac | 2 +-
7 files changed, 20 insertions(+), 22 deletions(-)
--
2.37.2.351.g9bf691b78c.dirty
Messages sorted by:
Reverse Date,
Date,
Thread,
Author