A cookbook that installs and configures prezto, with some default settings
https://github.com/sorin-ionescu/prezto
Tested on Ubuntu 12.04, but should work on most Debian and Red Hat derivatives and other *nix platforms.
Depends on git and zsh. Suggested to use with users and user
If you are using chef-solo, add solo-search
- prezto[:theme] sets the prezto theme. (Default: "nicoulaj")
- prezto[:repo] sets the repository to pull prezto from (Default: "https://github.com/sorin-ionescu/prezto.git")
- prezto[:prezto_modules] sets the modules to load (Default: %w('environment' 'terminal' 'editor' 'history' 'directory' 'spectrum' 'utility' 'completion' 'prompt' 'command-not-found' 'dpkg'))
- prezto[:editor] sets the key mapping style settings (Default: "emacs")
- prezto[:dotexpansion] sets the dotexpansion (Default: "yes")
- prezto[:autotitle] sets the tab and window titles (Default: "yes")
Any user data bag item with a shell set to zsh will have this recipe applied. Per-user themes are set by including an +prezto-theme+ entry in a user data bag item.
The default recipe clones a copy of the git repository in each home directory once. The "shared" recipe clones a single copy, links from each home directory and syncs it each time chef runs.
This cookbook is a fork of the oh-my-zsh cookbook by Heavy Water Software, and again a fork of another chef-prezto implementation. Some parts are still left, but most has been changed.
Please fork, and do a pull request.