Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Most minimal configuration challenge



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