From 2c9655fd245a24ca890d8b59bf1aed45e3eaf450 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Fri, 19 Aug 2011 09:38:55 +0200 Subject: Added install script --- install.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 install.rb 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` + -- cgit v1.2.3 From 0ad6ccbdd2759ac158f75c381343ac519cf68715 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Fri, 19 Aug 2011 09:42:13 +0200 Subject: Added a note on the readme file --- README.rdoc | 1 + 1 file changed, 1 insertion(+) 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 ;) -- cgit v1.2.3