After waiting for a long time, I finally updated my Mac to OSX 10.10.
Right after the installation, the usual tweaking process begins to make you feel at home. These are my notes to make the shell look good.
I wanted z-shell, oh-my-zsh and these modified powerline fonts to make the command prompt look cool.If you want to follow these steps, it's recommended to have homebrew installed to install zsh-shell.
Ready, set, go!
iTerm2
The easiest way it to install iTerm2 with homebrew. Run this command:brew install iTerm2
oh-my-zsh
Run this commandcurl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
powerline
Powerline is a project that provides tools to customize the status line and command prompt of several applications. To achieve this, they use special glyphs that are available through patched fonts. These are the powerline fonts. Download the font from here and install it by double clicking. This will open the Font Book application and install the font for you.Configuration
Now it's time to put everything together.- Open iTerm2
- Go to
Preferences -> Profiles -> Default -> General
and type/bin/zsh
into the text field next to Command (this will use zsh instead of your default shell) - Go to
Preferences -> Profiles -> Default -> Text
and change the Regular Font and the Non-ASCII Font to11pt Inconsolata-dz for Powerline
- open
~/.zshrc
with your favorite text editor and changeZSH_THEME
toagnoster
No comments:
Post a Comment