dotfiles/setup/Readme.md
Artem Sapegin 4818757bb1 Git: local identity.
~/.gitlocal works only in Git 1.7.10.2 but .gitlocal works in 1.7.10.
2012-11-28 12:21:17 +04:00

68 lines
1.7 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/Mac-OS-Apps).
**Warning**. Your Mac can turns 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.
## 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)