added install script
This commit is contained in:
13
README.md
13
README.md
@@ -15,6 +15,12 @@ These are my dotfiles, which contain my custom system configuration preferences.
|
||||
|
||||
The organization of this project is similar to [Zach Holman's ](http://github.com/holman/dotfiles) setup.
|
||||
|
||||
### Automatic Installation
|
||||
|
||||
wget
|
||||
|
||||
### Manual Installation
|
||||
|
||||
#### Clone
|
||||
|
||||
First, clone the repository to your home directory and name it ".dotfiles"
|
||||
@@ -24,6 +30,13 @@ First, clone the repository to your home directory and name it ".dotfiles"
|
||||
Then cd into that directory
|
||||
|
||||
cd ~/.dotfiles
|
||||
|
||||
#### Init Submodules
|
||||
|
||||
The vim configuration relies on a couple of vim plugins, which are loaded in as git submodules.
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
#### Backup
|
||||
|
||||
|
||||
17
install.sh
Normal file
17
install.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# clone the repository
|
||||
git clone git@github.com:nicknisi/dotfiles.git ~/.dotfiles
|
||||
|
||||
# cd into directory
|
||||
cd ~/.dotfiles
|
||||
|
||||
# initialize submodules
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
# backup existing configuration
|
||||
rake backup
|
||||
|
||||
# run the install
|
||||
rake install
|
||||
Reference in New Issue
Block a user