|
1 | 1 | # dotfiles
|
2 | 2 |
|
3 |
| -Mislav's configuration files for bash, zsh, git, ruby, and more. |
| 3 | +Mislav's configuration files for bash, zsh, git, and more. |
4 | 4 |
|
5 | 5 | ## Installation
|
6 | 6 |
|
7 |
| -Clone somewhere, then run the `install` script: |
| 7 | +Clone somewhere, then run the bootstrap script: |
8 | 8 |
|
9 | 9 | ~~~ sh
|
10 |
| -$ git clone git://github.com/mislav/dotfiles.git ~/dotfiles |
| 10 | +$ git clone https://github.com/mislav/dotfiles.git ~/dotfiles |
11 | 11 | $ ~/dotfiles/script/bootstrap
|
12 | 12 | ~~~
|
13 | 13 |
|
14 |
| -**Note that this will also install my [vimfiles][] if `~/.vim` is missing, set |
15 |
| -up [rbenv][] if `~/.rbenv` is missing, and install Homebrew formulae and OS X |
16 |
| -apps per [Brewfile](./Brewfile).** These dotfiles are tailored for me, so if |
17 |
| -this is too much for you to take in at once, consider cherry-picking just the |
18 |
| -functionality you need. |
19 |
| - |
20 | 14 | The install script won't overwrite your existing dotfiles, but will symlink
|
21 | 15 | the ones that don't exist. If you want to replace your existing dotfiles, simply
|
22 | 16 | move them to a backup location and run install again.
|
23 | 17 |
|
24 | 18 | ## Misc. commands in `bin`
|
25 | 19 |
|
26 |
| -Check [the `bin` directory](https://github.com/mislav/dotfiles/tree/master/bin) for awesome commands such as: |
27 |
| - |
28 |
| -- ansi2html |
29 |
| -- git-unreleased |
30 |
| -- pair |
31 |
| -- proxy |
32 |
| -- tmux-session |
33 |
| - |
34 |
| -## zsh |
35 |
| - |
36 |
| -- enables completions |
37 |
| - |
38 |
| -- enables Emacs key bindings: |
39 |
| - - `C-a`/`C-e` - beginning/end of line |
40 |
| - - `C-r`/`C-s` - incremental history search backward/forward |
41 |
| - |
42 |
| -- `C-x C-e` - edit current command-line in $EDITOR |
43 |
| - |
44 |
| -- shell prompt includes: |
45 |
| - 1. current directory |
46 |
| - 2. last command failed status indicator |
47 |
| - 3. git branch |
48 |
| - 4. rbenv version |
49 |
| - |
50 |
| -- `autobin` - whitelists current directory's `bin` dir that it should get |
51 |
| - prepended to $PATH whenever we `cd` into this project and removed when we |
52 |
| - leave. |
53 |
| - |
54 |
| -## ruby |
55 |
| - |
56 |
| -- `sc` - smart `script/console`; works for Rails 2, Rails 3, Sinatra |
57 |
| -- `ss` - smart `script/server`; works for Rails 2, Rails 3 |
58 |
| -- `sr` - Passenger/Pow server restart (`touch tmp/restart.txt`) |
59 |
| - |
60 |
| -## git |
61 |
| - |
62 |
| -- `gl` - `git pull` |
63 |
| -- `gp` - `git push` |
64 |
| -- `gd` - `git diff` |
65 |
| -- `gc` - `git commit -v` |
66 |
| -- `gca` - `git commit -v -a` |
67 |
| -- `gb` - `git branch -v` |
68 |
| -- `st` - `git status -sb` |
69 |
| -- `gco` - `git checkout` |
| 20 | +Check [the `bin` directory](./bin) for an assortment of useful utilities. |
70 | 21 |
|
71 | 22 | ## tmux
|
72 | 23 |
|
|
0 commit comments