Fandom

How To Wiki

How to configure the zsh shell

1,797pages on
this wiki
Add New Page
Talk0 Share


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:

  1. Lines configured by zsh-newuser-install

HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory autocd beep nomatch unsetopt extendedglob notif

  1. Use emacs-style editing on the command line (even if you have something else set as your EDITOR)

bindkey -e

  1. End of lines configured by zsh-newuser-install
  2. The following lines were added by compinstall

zstyle :compinstall filename '/home/andrei/.zshrc'

autoload -Uz compinit compinit

  1. End of lines added by compinstall

From HowTo Wiki, a Wikia wiki.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.