Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
xcode-select --install
orXcode > Preferences > Downloads > Command Line Tools
Homebrew can not install properly until this occurs.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
At the time of this writing, brew doctor
says that Xcode 6.1
is required, which means downloading it from the Apple Developer Center until it is released in the Mac App Store.
brew install caskroom/cask/brew-cask
./install-via-brew.sh
./install-via-brew-cask.sh
vagrant plugin install vagrant-vmware-fusion
vagrant plugin install vagrant-hostsupdater
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cd ~/SpiderOak\ Hive/dotfiles/
stow -t ~ PACKAGE_NAME
cd ~/SpiderOak\ Hive/dotfiles/
stow -t ~ git
stow -t ~ hg
ln -s ~/SpiderOak\ Hive/dotfiles/.subversion
mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Run Sublime Text 3
and access the console via the CTRL + ``` shortcut or the
View > Show Console` menu.
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
See https://sublime.wbond.net/installation for more information. Their site has a note that this install code will change for each new release, so it would be good to check once in a while.
- AdvancedNewFile
- Alignment
- Bracket Highlighter
- Color Highlighter
- Djaneiro
- DocBlockr
- Emmet
- FileDiffs
- FileSystem Autocompletion
- Git
- Local History
- Markdown Preview
- Markdown Editing
- Origami
- Side Bar
- Trimmer
- VCS Gutter
- HTML/CSS/JS Prettify
- Pretty YAML
- Python PEP8 Autoformat
- SublimeCodeIntel
- SublimeLinter
- Spacegray
Sublime Text > Preferences > Settings - User
{
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_style": "smooth",
"color_scheme": "Packages/User/SublimeLinter/base16-ocean.dark (SL).tmTheme",
"default_line_endinGg": "unix",
"dictionary": "Packages/Language - English/en_GB.dic",
"draw_white_space": "all",
"fade_fold_buttons": "false",
"font_face": "Sauce Code Powerline",
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Markdown"
],
"indent_guide_options":
[
"draw_active"
],
"match_brackets_angle": true,
"original_color_scheme": "Packages/User/Color Highlighter/themes/Monokai (Colorcoded).tmTheme",
"rulers":
[
80
],
"save_on_focus_lost": true,
"scroll_past_end": false,
"spell_check": true,
"theme": "Spacegray.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"vintage_start_in_command_mode": true,
"wrap_width": 80
}
curl http://j.mp/spf13-vim3 -L -o - | sh
cd ~/SpiderOak\ Hive/dotfiles/
stow -t ~ vim
./install-via-pip.sh
#Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0.02
#Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
#Add a context menu item for showing the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
#Show the ~/Library folder
chflags nohidden ~/Library
#Store screenshots in subfolder on desktop
mkdir ~/Desktop/Screenshots
defaults write com.apple.screencapture location ~/Desktop/Screenshots
sudo scutil --set HostName macbook-aer