diff options
| -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` + |
