Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 77 lines (53 sloc) 2.78 kb
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
1 # Mathias’s dotfiles
2
43e8353 @mathiasbynens Add installation instructions.
mathiasbynens authored
3 ## Installation
4
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
5 ### Using Git and the bootstrap script
ac5170b @mathiasbynens Add a note about the `.osx` file.
mathiasbynens authored
6
c6d420b @mathiasbynens README: Clarify that it doesn’t matter where the repository is cloned, a...
mathiasbynens authored
7 You can clone the repository wherever you want. (I like to keep it in `~/Projects/dotfiles`, with `~/dotfiles` as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.
8
ac5170b @mathiasbynens Add a note about the `.osx` file.
mathiasbynens authored
9 ```bash
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
10 git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && ./bootstrap.sh
ac5170b @mathiasbynens Add a note about the `.osx` file.
mathiasbynens authored
11 ```
12
13 To update, `cd` into your local `dotfiles` repository and then:
7e2ffe5 @mathiasbynens Add update instructions.
mathiasbynens authored
14
15 ```bash
16 ./bootstrap.sh
17 ```
18
9850a48 @mathiasbynens README: Document the -f/--force option for bootstrap.sh
mathiasbynens authored
19 Alternatively, to update while avoiding the confirmation prompt:
20
21 ```bash
22 ./bootstrap.sh -f
23 ```
24
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
25 ### Git-free install
26
27 To install these dotfiles without Git:
28
29 ```bash
f62dfea @mathiasbynens README: List files while untarring
mathiasbynens authored
30 cd; curl -#L https://github.com/mathiasbynens/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh}
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
31 ```
32
33 To update later on, just run that command again.
34
c6d420b @mathiasbynens README: Clarify that it doesn’t matter where the repository is cloned, a...
mathiasbynens authored
35 ### Add custom commands without creating a new fork
36
37 If `~/.extra` exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
38
39 My `~/.extra` looks something like this:
40
41 ```bash
bb49a55 @mathiasbynens README: Tweak the part about ~/.extra
mathiasbynens authored
42 # PATH additions
43 export PATH="~/bin:$PATH"
44
45 # Git credentials
46 # Not in the repository, to prevent people from accidentally committing under my name
c6d420b @mathiasbynens README: Clarify that it doesn’t matter where the repository is cloned, a...
mathiasbynens authored
47 GIT_AUTHOR_NAME="Mathias Bynens"
48 GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
bb49a55 @mathiasbynens README: Tweak the part about ~/.extra
mathiasbynens authored
49 git config --global user.name "$GIT_AUTHOR_NAME"
c6d420b @mathiasbynens README: Clarify that it doesn’t matter where the repository is cloned, a...
mathiasbynens authored
50 GIT_AUTHOR_EMAIL="mathias@mailinator.com"
51 GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
bb49a55 @mathiasbynens README: Tweak the part about ~/.extra
mathiasbynens authored
52 git config --global user.email "$GIT_AUTHOR_EMAIL"
c6d420b @mathiasbynens README: Clarify that it doesn’t matter where the repository is cloned, a...
mathiasbynens authored
53 ```
54
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
55 ### Sensible OS X defaults
56
57 When setting up a new Mac, you may want to set some sensible OS X defaults:
58
59 ```bash
60 ./.osx
61 ```
62
63 ## Feedback
64
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
65 Suggestions/improvements
66 [welcome](https://github.com/mathiasbynens/dotfiles/issues)!
67
68 ## Thanks to…
8c0c9aa @mathiasbynens README: Add Git-less installation instructions
mathiasbynens authored
69
7d02270 @mathiasbynens Initial commit.
mathiasbynens authored
70 * [Gianni Chiappetta](http://gf3.ca/) for sharing his [amazing collection of dotfiles](https://github.com/gf3/dotfiles)
f5faf6b @mathiasbynens Typo.
mathiasbynens authored
71 * [Matijs Brinkhuis](http://hotfusion.nl/) and his [homedir repository](https://github.com/matijs/homedir)
b73e413 @mathiasbynens Add a link to @janmoesen’s tilde repository.
mathiasbynens authored
72 * [Jan Moesen](http://jan.moesen.nu/) and his [ancient `.bash_profile`](https://gist.github.com/1156154) + [shiny tilde repository](https://github.com/janmoesen/tilde)
779de13 @mathiasbynens Add a link to cowboy/dotfiles
mathiasbynens authored
73 * [Ben Alman](http://benalman.com/) and his [dotfiles repository](https://github.com/cowboy/dotfiles)
9910901 @mathiasbynens README: Add @necolas and @tejr
mathiasbynens authored
74 * [Nicolas Gallagher](http://nicolasgallagher.com/) and his [dotfiles repository](https://github.com/necolas/dotfiles)
75 * [Tom Ryder](http://blog.sanctum.geek.nz/) and his [dotfiles repository](https://github.com/tejr/dotfiles)
29cadd5 @mathiasbynens Tweak README.
mathiasbynens authored
76 * [Tim Esselens](http://devel.datif.be/)
79c9c3e @mathiasbynens Link to the issue tracker for suggestions.
mathiasbynens authored
77 * anyone who [contributed a patch](https://github.com/mathiasbynens/dotfiles/contributors) or [made a helpful suggestion](https://github.com/mathiasbynens/dotfiles/issues)
Something went wrong with that request. Please try again.