Class: OhMyZsh
- Inherits:
-
StationModule
- Object
- StationModule
- OhMyZsh
- Defined in:
- lib/vagrant/conductor/modules/oh-my-zsh/oh-my-zsh.rb
Instance Method Summary collapse
Instance Method Details
#install_oh_my_zsh ⇒ Object
7 8 9 |
# File 'lib/vagrant/conductor/modules/oh-my-zsh/oh-my-zsh.rb', line 7 def install_oh_my_zsh shell_provision("bash #{scripts}/install-oh-my-zsh.sh") end |
#install_zsh ⇒ Object
3 4 5 |
# File 'lib/vagrant/conductor/modules/oh-my-zsh/oh-my-zsh.rb', line 3 def install_zsh shell_provision("sudo apt-get -y install zsh") end |
#provision ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/vagrant/conductor/modules/oh-my-zsh/oh-my-zsh.rb', line 11 def provision # Install Oh My Zsh if args.find?('install.oh-my-zsh', false) args['install']['zsh'] = false install_zsh install_oh_my_zsh end # Install zsh if args.find?('install.zsh', false) install_zsh end end |