https://github.com/afaur/base-dotfiles
https://github.com/afaur/base-dotfiles
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/afaur/base-dotfiles
- Owner: afaur
- Created: 2016-06-28T21:13:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-28T18:35:28.000Z (about 10 years ago)
- Last Synced: 2025-04-06T08:27:15.632Z (over 1 year ago)
- Language: VimL
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Browser dotfiles
## Install
1. Clone the base dotfiles
~~~
git clone git://github.com/blainesch/ab-dotfiles.git ~/dotfiles
~~~
1. Clone your personal dotfiles to `~/dotfiles-local`
1. Install [rcm](https://github.com/thoughtbot/rcm):
~~~
brew tap thoughtbot/formulae
brew install rcm
~~~
1. Install the dotfiles:
~~~
env RCRC=$HOME/dotfiles/rcrc rcup
~~~
1. Optionally, you can safely run `rcup` multiple times to update:
~~~
rcup
~~~
## Extending
The command `rcup` does more than just copy a few dotfiles it has support for
`hooks` and `bin` files.
Read more about
[rcm](https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-repos)
### Hooks
For example you could create a `hooks/post-up` to install your vim package
manager, or do some host specific configuration.
### Bin
If you have a binary such as `bin/foo` it'll add that command to your path.
Ensure these files have execute permission.
### Defaults
By default this will look for:
* `~/.gitconfig.local`
* `~/.tmux.conf.local`
* `~/.vimrc.local`
* `~/.vimrc.bundles.local`