Skip to content

JustinAiken/justinaiken_dotfiles-cookbook

Repository files navigation

justinaiken_dotfiles

This is a cookbook to install and sets up my dotfiles.

  • Installs ZSH, and sets it as the shell
  • Installs vim
  • Installs oh-my-zsh
  • Installs and syncs my dotfiles

Supported Platforms

  • Debian-based Linuxes
    • Tested on Ubunutu 12.04
    • Tested on Ubunutu 14.04

Attributes

Key Type Description Default
['justinaiken_dotfiles']['oh_my_zsh_repository'] String Which repo to install oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh.git
['justinaiken_dotfiles']['oh_my_zsh_revision'] String Which ref of oh-my-zsh to use master
['justinaiken_dotfiles']['git_repository'] String Which repo to install dotfiles from https://github.com/JustinAiken/dotfiles.git
['justinaiken_dotfiles']['git_revision'] String Which ref of dotfiles to use master
['justinaiken_dotfiles']['users'] Array of String List of usernames to get dotfiles treadment []

Usage

Automatic

Add some users to [justinaiken_dotfiles][users] and include justinaiken_dotfiles in your node's run_list:

{
  "run_list": [
    "recipe[justinaiken_dotfiles]"
  ]
}

Manual

Declare a justinaiken_dotfiles resource in your recipie:

justinaiken_dotfiles 'some_user' do
  install_vim       true # Defaults to true, set to false if you want to skip installing vim
  install_zsh       true # Defaults to true, set to false if you want to skip installing zsh
  switch_shell      true # Defaults to true, set to false if don't want to change user's shell to zsh
  install_oh_my_zsh true # Defaults to true, set to false if you want to skip installing oh-my-zsh
end

License and Authors

Author:: Justin Aiken

About

Cookbook for installing my dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages