dotfiles/setup/Readme.md

76 lines
1.9 KiB
Markdown
Raw Normal View History

2012-10-12 14:53:55 +00:00
## Prerequisites
* [Command Line Tools for Xcode](https://developer.apple.com/downloads)
2012-10-25 21:07:19 +00:00
## :skull: Bootstrap :skull:
2012-10-19 11:54:20 +00:00
2012-12-20 07:45:41 +00:00
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).
2012-10-19 11:54:20 +00:00
2012-12-20 07:45:41 +00:00
**Warning**. Your Mac can turn into a pumpkin.
2012-10-25 21:07:19 +00:00
## Scripts
### stuff
2012-10-25 21:07:19 +00:00
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.
2012-10-25 21:07:19 +00:00
### bash
Installs Bash 4 and registers it as a default shell. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### consolas
Installs Consolas font. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### imgo
Installs [imgo](https://github.com/imgo/imgo) CLI image optimizer. Needs Homebrew.
2012-10-25 21:07:19 +00:00
### 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.
2012-12-20 07:45:41 +00:00
### quicklook
Installs quick look plugins: qlImageSize.
### update
Get OS X software updates, update Homebrew, NPM, Ruby packages, dotfiles and some other software.
2012-10-25 21:07:19 +00:00
## Tips & Tricks
2012-10-19 11:54:20 +00:00
### Local Git identity
```
git config -f ~/.gitlocal user.email "artem@sapegin.ru"
git config -f ~/.gitlocal user.name "Artem Sapegin"
```
2012-10-12 08:53:13 +00:00
### How to remove US English keyboard layout on Mac OS X
2012-10-12 14:53:55 +00:00
Useful when you use some kind of [typography layout](http://ilyabirman.ru/projects/typography-layout/).
2012-10-12 08:53:13 +00:00
```bash
bash <(curl -fsSkL raw.github.com/bolknote/shellgames/master/us_layout_remover.sh)
```
2012-10-12 14:53:55 +00:00
2012-10-25 21:07:19 +00:00
## Misc
2012-10-12 14:53:55 +00:00
* [OSX Python developer guide](https://gist.github.com/902296)