Sets up my OSX configuration preferences and dependencies for zsh, vim, and other dot-configured packages.
Originally forked from @ryanb, with pastes from @robbyrussell's oh-my-zsh effort, @devjj's vim-config, @holman, @skwp's YADR and open sourced dotfiles from various other nerds.
Tested with OSX 10.13, "High Sierra", as of this writing
- Install XCode
- Install XCode command line tools:
- Install Postgres with http://postgresapp.com/ (not via homebrew)
- Install node and nvm with http://yoember.com/nodejs/the-best-way-to-install-node-js/ (again, no brew)
- Git clone this repo into
- Run the script with
Set the default shell to use the brew-installed of zsh
sudo dscl . change /users/$USER UserShell /bin/bash $(which zsh)
Then login again.
which zsh should read
- Use rbenv to install at globally set the latest Ruby version
- Use nvm to install at globally set the latest Node and npm version
Customed tailored for me. YMMV.
- Install task invokes homebrew for updates and dependent packages
- Install task installs fonts, most notably Source Code Pro
- Pry instead of IRB everywhere
- Simple, custom prompt with a right-hand display of current Ruby and Node versions (assumes rbenv and nvm, which the script installs)
- "Fasd" fast directory switching tool
- Vimified command line (you start in insert mode)
- Git key bindings (see
- Single, simple and well-commented
vimrc- it's all there, including plugin selection
- Special "writing mode" - toggle with
- Rspecs (or Ruby code) will run out-of-band in Terminal.app via