To use, run this from the shell of the user you want to install for:
curl -Lsk http://goo.gl/ySIhkT |bash
The above url maps to https://gist.githubusercontent.com/baetheus/1616cea67a73c0bcf4f9/raw/brandon-shell-setup.sh
As of 2014-11-21, this script installs zsh, sets it as the default shell for the current user, and also downloads .vimrc and .zshrc files. It's non-destructive and will not link the shell if an error occured during installation, nor will it overwrite existing .vimrc or .zshrc files.
- pkgsrc
- bash
- sudo
- vim
This was meant to be run on OS X or a SmartOS Zone. Installation of zsh is achieved using pkgsrc, which runs on lots of stuff. If you don't have pkgsrc and don't want to install it, then you'll have to manually install zsh using another method. The installation script is fairly portable bash, if you find an issue with it please ping me. I don't expect anyone else to use this, since I only use it to quickly bootstrap remote machines that I don't configure.