diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2011-09-01 01:01:09 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2011-09-01 01:01:09 +0200 |
| commit | 77f523ae118a757bef393d91de4def44b4eff5db (patch) | |
| tree | 421d60cf90d16f9b669ad70d775929d706281a08 | |
| parent | 3c4f07493337e91798b8c9559998cd1a9983a416 (diff) | |
| parent | 0ad6ccbdd2759ac158f75c381343ac519cf68715 (diff) | |
| download | dotfiles-77f523ae118a757bef393d91de4def44b4eff5db.tar.gz dotfiles-77f523ae118a757bef393d91de4def44b4eff5db.zip | |
Merge branch 'master' of git://github.com/mssola/dotfiles
| -rw-r--r-- | README.rdoc | 1 | ||||
| -rw-r--r-- | install.rb | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/README.rdoc b/README.rdoc index 4e26001..f3eb467 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,3 +1,4 @@ == README +To automatically install everything, just execute the install.rb script. Use it at your own risk ;) diff --git a/install.rb b/install.rb new file mode 100644 index 0000000..1f90092 --- /dev/null +++ b/install.rb @@ -0,0 +1,17 @@ +## +# Simple script to install all the files to our home +# + +#!/usr/bin/env ruby + +# You can change your home directory ;) +home = ARGV[0] +home ||= '$HOME' + +`cp bashrc #{home}/.bashrc` +`cp irbrc #{home}/.irbrc` +`cp gemrc #{home}/.gemrc` +`cp gitcompletion #{home}/.gitcompletion.sh` +`cp gitconfig #{home}/.gitconfig` +`cp global.gitignore #{home}/.gitignore` + |
