Software Crafting
  • Introduction
  • Tools
    • *nix\/Shell Setup
      • zsh
        • Switching to zsh
        • zsh Themes
        • zsh Prompt Escape Sequences
        • Troubleshooting
    • git
      • Addressing common errors
    • GitHub
      • GitHub Markdown Cheetsheet
      • Configure \/ Make \/ Make Install
    • tmux
      • Useful tmux Links
    • vim
      • Build from Repository Tips
    • Ubuntu
    • Misc
  • Seminars
    • 2018 SCaLE 16x Container Days
    • 2017 MATLAB Expo
    • 2017 SoCal Code Camp
    • 2017 SCNA
    • 2017 MathWorks Advisory Board
      • Day 1: MATLAB Platform and Data Analytics
      • Day 2: Model-Based Design with Simulink: Modeling and Simulation
      • Day 3: Model-Based Design with Simulink: Code Gen and V&V
    • Agile Systems Engineering Planning Using Six Thinking Hats
    • 2016 SoCal Code Camp
    • 2016 SCNA
    • 2016 Pre-SCNA Workshop
  • Programming
    • Javascript
      • Node.js
        • Frameworks
    • Python 2
    • Rust
    • Makefiles
    • GNU General Public License (GPL)
  • Crafting
  • Algorithms
  • Amazon Web Services
    • Administrating
Powered by GitBook
On this page
  • Introduction
  • tl;dr
  • References

Was this helpful?

  1. Tools
  2. *nix\/Shell Setup
  3. zsh

Switching to zsh

PreviouszshNextzsh Themes

Last updated 6 years ago

Was this helpful?

Introduction

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

tl;dr

  • Launch zsh

    zsh
  • Clone 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

  • [Switching from bash to zsh - Chen Hui Jing

]()

Prezto
https://www.chenhuijing.com/blog/bash-to-zsh/
Switching from bash to zsh in OS X - Brent Ertz