Switching to zsh

Introduction

Nearly all *nix installations default to using bash for their command line interface.

tl;dr

  • Launch zsh

    zsh
  • Clone Prezto repository

    git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
  • Create a new Zsh configuration

    setopt EXTENDED_GLOB
    for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
    ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
    done
  • Set Zsh as the default shell

    chsh -s /bin/zsh
  • Restart your terminal and the default Prezto theme, with chevrons and all, should be enabled

References

Last updated