Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Most minimal configuration challenge
- X-seq: zsh-users 27991
- From: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Most minimal configuration challenge
- Date: Fri, 26 Aug 2022 23:30:23 -0500
- Archived-at: <https://zsh.org/users/27991>
- List-id: <zsh-users.zsh.org>
Hi,
Now and again I cleanup my entire configuration for various reasons.
By doing that multiple times I've figured out which options I really
need, which are nice to have, and which I don't want.
Sometimes I wonder if there's anybody who doesn't use some of these.
For example, my guess is 99.99% of all people use compinit.
If I was a newcomer to zsh I would probably need some of these as
well, especially compinit.
Anyway, here is the most minimal configuration I can live with:
fpath=(~/.zsh $fpath)
HISTFILE=~/.history
HISTSIZE=10000
SAVEHIST=50000
autoload -U compinit && compinit
autoload -U promptinit && promptinit
prompt felipec
setopt inc_append_history
bindkey -e
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
bindkey "\e[A" history-beginning-search-backward
bindkey "\e[B" history-beginning-search-forward
bindkey "\e[3~" delete-char
I need every single line.
Although I usually use a much bigger configuration, I'm able to live
with this minimal configuration for a while.
Does anybody have a similar list of options they absolutely can't live
without? How long can you live with such a minimal configuration?
Cheers.
--
Felipe Contreras
Messages sorted by:
Reverse Date,
Date,
Thread,
Author