Skip to content

Commit

Permalink
Allow personal customizations via ~/.laptop.local
Browse files Browse the repository at this point in the history
Use same `.local` convention as https://github.com/thoughtbot/dotfiles.
  • Loading branch information
Dan Croak committed Mar 20, 2014
1 parent 91ca7d6 commit 0893848
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions Manifest.linux
Expand Up @@ -15,3 +15,4 @@ common-components/default-gems
linux-components/heroku
linux-components/github
linux-components/rcm
common-components/personal-additions
1 change: 1 addition & 0 deletions Manifest.mac
Expand Up @@ -16,3 +16,4 @@ common-components/default-gems
mac-components/heroku
mac-components/github
mac-components/rcm
common-components/personal-additions
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -71,6 +71,21 @@ What it sets up

It should take less than 15 minutes to install (depends on your machine).

Make your own customizations
----------------------------

Put your customizations in `~/.laptop.local`. For example, your
`~/.laptop.local` might look like this:

#!/bin/sh

brew tap phinze/homebrew-cask
brew install brew-cask

brew cask install dropbox
brew cask install google-chrome
brew cask install rdio

Credits
-------

Expand Down
2 changes: 2 additions & 0 deletions common-components/personal-additions
@@ -0,0 +1,2 @@
fancy_echo "Installing your personal additions from ~/.laptop.local ..."
[[ -f ~/.laptop.local ]] && source ~/.laptop.local
4 changes: 4 additions & 0 deletions linux
Expand Up @@ -176,3 +176,7 @@ fancy_echo "Installing rcm, to manage your dotfiles ..."
rm -f /tmp/rcm_1.1.0_all.deb
### end linux-components/rcm

fancy_echo "Installing your personal additions from ~/.laptop.local ..."
[[ -f ~/.laptop.local ]] && source ~/.laptop.local
### end common-components/personal-additions

4 changes: 4 additions & 0 deletions mac
Expand Up @@ -166,3 +166,7 @@ fancy_echo "Installing rcm, to manage your dotfiles ..."
brew install rcm
### end mac-components/rcm

fancy_echo "Installing your personal additions from ~/.laptop.local ..."
[[ -f ~/.laptop.local ]] && source ~/.laptop.local
### end common-components/personal-additions

0 comments on commit 0893848

Please sign in to comment.