pivotal/pivotal_workstation — pull request #174 by roderik (2012-12-29 09:56:05+00:00)
Title: Simplification and changes to be able to install bash-it globally. Also fixed a bug in the custom history command

To install bash-it globally like discussed in pivotal/pivotal_workstation#128 i add a custom attributes file in my personal cookbook with this content:

```
node.override['bash_it'] ={
'enabled_plugins' => {
'aliases' => %w[general],
'completion' => %w[defaults git],
'plugins' => %w[ssh]
},
'custom_plugins' => %w[
bash_it/custom/disable_ctrl-s_output_control.bash
bash_it/custom/enable_ctrl-o_history_execution.bash
bash_it/custom/history_settings.bash
bash_it/custom/ensure_usr_local_bin_first.bash
bash_it/custom/add_user_initials_to_git_prompt_info.bash
],
'theme' => 'bobby',
'dir' => '/etc/bash_it'
}

if node["platform"] == "ubuntu"
node.override["bash_it"]["bashrc_path"]="/etc/bash.bashrc"
else
node.override["bash_it"]["bashrc_path"]="/etc/bashrc"
end
```

Expect more pull requests as i migrate all my bash settings :)