Skip to content

Instantly share code, notes, and snippets.

@sarveshseri
Last active August 29, 2015 14:20
Show Gist options
  • Save sarveshseri/e639b562d16b12279cab to your computer and use it in GitHub Desktop.
Save sarveshseri/e639b562d16b12279cab to your computer and use it in GitHub Desktop.

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Setup zsh

Install zsh
$ brew install zsh
oh-my-zsh
$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.zshrc ~/.zshrc.orig
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Change default shell
$ chsh -s zsh

Now restart the terminal.

Configure powerline

Install powerline

Well... we need pip for powerline. We can install pip either of following two ways,

$ brew install python

# Or

$ sudo easy install pip

Now once we have pip,

$ pip install --user powerline-status
Clone the powerline repo
# $ export POWERLINE_HOME="Some_location"
$ https://github.com/powerline/powerline.git ~/Installed/utils/powerline
Install powerline patched fonts
$ git clone https://github.com/powerline/fonts.git ~/Works/utils/fonts
$ ~/Works/utils/fonts/install.sh
Add powerline config to zsh.rc

Configure the theme - Agnoster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment