This article outlines how to install my preferred development environment using iTerm2 and zsh (Z shell) together with some plugins on MacOSX. It doesn’t go into much detail and describes a hands-on installation of these tools.
brew cask install iterm2
Here you can find a comprehensive cheat sheet for iTerm2.
Next, I install (oh-my-)zsh as my preferred shell. on-my-zsh is a tool for managing the zsh configuration (themes, plugins). It is installed on-top of zsh.
brew install zsh zsh-completions
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Change the current shell to zsh using
chsh -s $(which zsh)
Use this cheat sheet or a more detailed look at the zsh commands.
Configure the command prompt
Add or change the line following line in ~/.zshrc to make the command prompt a bit shorter
Install the agnoster or cobalt2 Theme
Edit ~/.zshrc and change
Install the Power Patched Font
For the agnoster theme, you need to install the power patched font
git clone https://github.com/powerline/fonts.git --depth=1 cd fonts ./install.sh cd .. rm -rf fonts
Then change the font and the font-size in iTerm to the powerline fonts (Meslo 14pt).
Install the git plugin
The git plugin for zsh already comes with the zsh installation. Use an editor to edit ~/.zshrc and add (or remove the #)
plugins=( git )