Skip to content

Instantly share code, notes, and snippets.

@zaki
Created January 3, 2013 13:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaki/4443363 to your computer and use it in GitHub Desktop.
Save zaki/4443363 to your computer and use it in GitHub Desktop.
Personalized workstation setup based on pivotal workstation
#!/bin/bash
# This shell script was created at solowizard.com
#
# http://github.com/tommyh/solo_wizard
# (c) 2012, Tom Hallett
# This script may be freely distributed under the MIT license.
pushd `pwd`
if rvm --version 2>/dev/null; then
gem install soloist
else
sudo gem install soloist
fi
mkdir -p ~/cookbooks; cd ~/cookbooks
cat > soloistrc <<EOF
cookbook_paths:
- $PWD
recipes:
- pivotal_workstation::ack
- pivotal_workstation::chrome
- pivotal_workstation::create_var_chef_cache
- pivotal_workstation::defaults_fast_key_repeat_rate
- pivotal_workstation::dropbox
- pivotal_workstation::enable_assistive_devices
- pivotal_workstation::evernote
- pivotal_workstation::finder_display_full_path
- pivotal_workstation::function_keys
- pivotal_workstation::git
- pivotal_workstation::git_scripts
- pivotal_workstation::homebrew
- pivotal_workstation::imagemagick
- pivotal_workstation::input_on_login
- pivotal_workstation::iterm2
- pivotal_workstation::java
- pivotal_workstation::keyboard_preferences
- pivotal_workstation::libreoffice
- pivotal_workstation::locate_on
- pivotal_workstation::memcached
- pivotal_workstation::mongodb
- pivotal_workstation::mysql
- pivotal_workstation::nginx
- pivotal_workstation::node_js
- pivotal_workstation::oh_my_zsh
- pivotal_workstation::qt
- pivotal_workstation::rvm
- pivotal_workstation::screen_sharing_on
- pivotal_workstation::set_finder_show_user_home_in_sidebar
- pivotal_workstation::skype
- pivotal_workstation::sshd_on
- pivotal_workstation::tmux
- pivotal_workstation::unix_essentials
- pivotal_workstation::user_owns_usr_local
- pivotal_workstation::vagrant
- pivotal_workstation::vim
- pivotal_workstation::virtualbox
- pivotal_workstation::xquartz
- pivotal_workstation::zsh
- zaki_workstation::tig
- zaki_workstation::tmux
- zaki_workstation::vim
- zaki_workstation::nodejs_packages
- zaki_workstation::launchbar
- zaki_workstation::rescuetime
- zaki_workstation::dotfiles
- zaki_workstation::pow
EOF
if [[ -d pivotal_workstation ]]; then
cd pivotal_workstation && git pull && cd ..
else
git clone https://github.com/pivotal/pivotal_workstation.git
fi
if [[ -d dmg ]]; then
cd dmg && git pull && cd ..
else
git clone https://github.com/opscode-cookbooks/dmg.git
fi
if [[ -d zaki_workstation ]]; then
cd zaki_workstation && git pull && cd ..
else
git clone https://github.com/zaki/zaki_workstation.git
fi
soloist
popd
# Install hungarian keyboard layout
wget -O ~/Library/Keyboard\ Layouts/Hungarian_Win.keylayout https://raw.github.com/zaki/mac-hun-keyboard/master/Hungarian_Win.keylayout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment