How to configure the zsh shell

Configuring the zsh shell

One way is to create the file ~/.zshrc and put in it a comment.

You can put this, which will enable much more helpfully options:

HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory autocd beep nomatch unsetopt extendedglob notif
 * 1) Lines configured by zsh-newuser-install

bindkey -e zstyle :compinstall filename '/home/andrei/.zshrc'
 * 1) Use emacs-style editing on the command line (even if you have something else set as your EDITOR)
 * 1) End of lines configured by zsh-newuser-install
 * 2) The following lines were added by compinstall

autoload -Uz compinit compinit
 * 1) End of lines added by compinstall

From HowTo Wiki, a Wikia wiki.