Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 419 Bytes
dep 'zsh' do
requires 'zsh.managed'
met? { sudo('echo \$SHELL', :as => var(:username), :su => true) == '/bin/zsh' }
meet { sudo("chsh -s '/bin/zsh' #{var(:username)}") }
end
dep 'oh-my-zsh' do
requires 'wget.managed'
requires 'zsh'
met? { "~/.oh-my-zsh".p.exists? }
meet { login_shell('wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh') }
end