dotfiles/setup/Readme.md
2012-12-20 11:45:41 +04:00

76 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Prerequisites
* [Command Line Tools for Xcode](https://developer.apple.com/downloads)
## :skull: Bootstrap :skull:
Run `./bootstrap.sh` (or separate scripts in this folder) and make you some coffee. Then open Chrome (now its your default browser) and install [all needed apps](https://github.com/sapegin/dotfiles/wiki/OS-X-Apps).
**Warning**. Your Mac can turn into a pumpkin.
## Scripts
### stuff
Installs Homebrew, Git, [git-extras](https://github.com/visionmedia/git-extras), [git-friendly](https://github.com/jamiew/git-friendly), Node.js, JSHint, Grunt, configures Apache, PHP, MySQL, etc.
### bash
Installs Bash 4 and registers it as a default shell. Needs Homebrew.
### consolas
Installs Consolas font. Needs Homebrew.
### imgo
Installs [imgo](https://github.com/imgo/imgo) CLI image optimizer. Needs Homebrew.
### osx
Sane OSX defaults. Based on [~/.osx](http://mths.be/osx) by @mathiasbynens.
### sublime-settings
Enables Sublime settings syncronization (see `../sublime/User` folder).
### sublime-packages
Installs/updates Sublime packages from Package Control (listed in `../sublime/User/Package Control.sublime-settings`) and GitHub (listed in script itself).
### apps
Installs Chrome and makes it default browser.
### quicklook
Installs quick look plugins: qlImageSize.
### update
Get OS X software updates, update Homebrew, NPM, Ruby packages, dotfiles and some other software.
## Tips & Tricks
### Local Git identity
```
git config -f ~/.gitlocal user.email "artem@sapegin.ru"
git config -f ~/.gitlocal user.name "Artem Sapegin"
```
### How to remove US English keyboard layout on Mac OS X
Useful when you use some kind of [typography layout](http://ilyabirman.ru/projects/typography-layout/).
```bash
bash <(curl -fsSkL raw.github.com/bolknote/shellgames/master/us_layout_remover.sh)
```
## Misc
* [OSX Python developer guide](https://gist.github.com/902296)