Chef LWRP to Install zsh and oh-my-zsh
Switch branches/tags
Nothing to show
Pull request Compare This branch is 8 commits behind tstat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
providers
resources
templates/default
README.md
metadata.rb

README.md

Chef LWRP for installing zsh/oh-my-zsh

====================

This is a nice clean LWRP for installing zsh and oh-my-zsh through chef.

Setup

Just add oh_my_zsh as one of your dependencies in your metadata.rb.

Usage

Simply pass a username to this LWRP and zsh/oh-my-zsh will be installed, the .zshrc template will be sym-linked if one doesn't already exist, and zsh will be set as the default shell for that user.

oh_my_zsh 'username'

Additionally you can specify the oh-my-zsh theme you want using the theme resource.

oh_my_zsh 'username' do
  theme 'theme'
end

Yay! Less typing in the future!!!