Configuration preferences for zsh, vim, and other dot-able stuff
Shell Vim script Ruby AppleScript HTML
Switch branches/tags
Nothing to show
Pull request Compare This branch is 739 commits ahead, 29 commits behind ryanb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fonts
vim
zsh
.gitignore
LICENSE
README.md
Rakefile
ackrc
aprc
editrc
gemrc
gitconfig.erb
gitignore
hushlogin
inputrc
irbrc
npmrc
osx
pryrc
rp5rc
rspec
slate
vimrc
zshrc

README.md

Dotfiles

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.12.3, "Sierra", as of this writing

Installation

Prep

  • Install XCode
  • Install XCode command line tools: xcode-select --install
  • Install Postgres with http://postgresapp.com/ (not via homebrew)

Install

  • Git clone this repo into ~/dotfiles
  • Run the script with rake install

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 /usr/local/bin/zsh

After Install

  • Use rbenv to install at globally set the latest Ruby version
  • Use nvm to install at globally set the latest Node and npm version

Highlights

Customed tailored for me. YMMV.

General

  • Install task invokes homebrew for updates and dependent packages
  • Install task installs fonts, most notably Source Code Pro
  • Pry instead of IRB everywhere

Zsh

  • 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 zsh/bindings.zsh)

Vim

  • Single, simple and well-commented vimrc - it's all there, including plugin selection
  • Special "writing mode" - toggle with ,w
  • Rspecs (or Ruby code) will run out-of-band in Terminal.app via Cmd+r