Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created November 12, 2010 14:48
Show Gist options
  • Save jtimberman/674173 to your computer and use it in GitHub Desktop.
Save jtimberman/674173 to your computer and use it in GitHub Desktop.
How I set up my workstation

My current workstation toolchain environment was set up with the following, roughly in order.

  1. Latest Xcode from Apple to get development tools.

  2. Homebrew.

  3. A few nice things with Homebrew:

    brew install git ack wget tmux sloccount ec2-ami-tools ec2-api-tools rds-command-line-tools

  4. Ruby Version Manager (RVM)

  5. Use RVM to install Ruby 1.9.2 and set it as my current Ruby.

    rvm install 1.9.2 rvm 1.9.2

  6. Install Chef as a RubyGem.

    gem install chef

  7. Set up Chef to run with my Opscode Platform organization.

  8. Run Chef, which will install a pile of gems (see gems.json) and the following repositories and config files.

  9. Tmux with Homebrew:

    brew install tmux

  10. Additional applications:

    • MacVim
    • VirtualBox
    • VMware Fusion
  11. Tweaks

  • caps lock to control
  • customize hostname
  • change my shell to zsh
  • full keyboard access, all controls
{
"id": "workstation",
"gems": {
"jeweler": "",
"json": "1.4.6",
"yajl-ruby": "",
"bluecloth": "",
"capistrano": "",
"thor": "",
"awesome_print": "",
"github": "",
"gist": "",
"fog": "",
"highline": "",
"net-sftp": "",
"net-ssh-multi": "",
"ronn": "",
"gem-man": "",
"open_gem": "",
"wirble": "",
"ghost": "",
"sdoc": "",
"thor": "",
"interactive_editor": "",
"rspec": "",
"cucumber": "",
"git-up": "",
"grit": "",
"showoff": "",
"cheat": "",
"org-ruby": "",
"prawn": "",
"nanoc": "",
"kramdown": "",
"adsf": "",
"vagrant": ""
}
}
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="jtimberman"
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git ruby)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
if [[ 'Darwin' == `uname` ]]
then
macpaths="/usr/local/homebrew/bin:/usr/local/homebrew/sbin:"
macman="/usr/local/homebrew/share/man:"
fi
export PATH="$macpaths/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:$HOME/bin"
export MANPATH="$macman/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man"
if whence -cp vim > /dev/null; then
export EDITOR=`whence -cp vim`
elif whence -cp vi > /dev/null; then
export EDITOR=`whence -cp vi`
fi
alias knife='nocorrect knife'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
[[ -s ~/.zshrc.local ]] && source ~/.zshrc.local
set -o vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment