Zvi Biener
  • Home
  • Articles
  • Books
  • Teaching
  • Tech Blog

Simple zsh configuration with ohmyzsh

10/11/2018

0 Comments

 
Here is a a simple .zshrc configuration script. It defines a simple ohmyzsh shell options. (You can easily find the installation options for both zsh and ohmyzsh.) Some neat features:
  1. The prompt is normally yellow colored, but changes to read if the previous command generates an error code.
  2. In enables nice command completion and integration with iTerm2. Be sure to have iTerm2 command history saved to disk. Completion is bound to command+; .
  3. I usually ls a directory after cd-ing to it. In fact, not usually; always. So I define a command "c" that will change directory and automatically list it.
  4. The color scheme is subdued and doesn't include the usual (distracting) bells and whistles that come with many customization schemes.

It looks like this:
Picture
Be sure to rename the file ".zshrc" and place in your home directory.
zshrc.config
File Size: 7 kb
File Type: config
Download File

0 Comments

    RSS Feed

    Categories

    All
    Academic Tools
    BibDesk
    Scrivener

    Archives

    October 2018
    June 2016
    December 2015
    November 2015
    October 2015

Contact Me:
  • Home
  • Articles
  • Books
  • Teaching
  • Tech Blog