Commit 740af47bd3d53f6068796e802b5aabd13394f292
1 parent
cea2b22c9b
Make config extensible
Showing 2 changed files with 8 additions and 1 deletions Side-by-side Diff
config/basic.rb
| ... | ... | @@ -7,7 +7,12 @@ |
| 7 | 7 | |
| 8 | 8 | Dir.chdir Pathname.new(__FILE__).realpath + "../.." |
| 9 | 9 | |
| 10 | -# Load local config if it exists. | |
| 10 | +# Load custom config. | |
| 11 | + | |
| 12 | +load File.expand_path "../boxen.rb", __FILE__ | |
| 13 | + | |
| 14 | +# Load local config if it exists. This file is ignored by Git, and can | |
| 15 | +# be used for personal config. | |
| 11 | 16 | |
| 12 | 17 | local = File.expand_path "../local.rb", __FILE__ |
| 13 | 18 | load local if File.file? local |
config/boxen.rb