1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-23 20:52:28 +00:00

Modified README to include the stow system

This commit is contained in:
J. Fernando Sánchez 2015-09-18 02:22:56 +02:00
parent fc8c11d360
commit 21debe133a

View File

@ -12,12 +12,16 @@ The fast way:
curl -#L https://github.com/balkian/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md} curl -#L https://github.com/balkian/dotfiles/tarball/master | tar -xzv --strip-components 1 --exclude={README.md}
``` ```
### Install ### Install
Each folder contains the configuration files for a specific program, as they would appear under "$HOME" (~).
To install them, first initialize the submodules:
Just run: ```
```bash
git submodule update --init --recursive git submodule update --init --recursive
source make.sh
``` ```
## How it works Then, you can use the [GNU Stow](https://www.gnu.org/software/stow/) utility to link the files to the appropriate folder:
So far, this is the simplest way of keeping your dotfiles in a repository. The installation script will just back-up your files in a folder in your ~/ with the timestamp, so running it twice won't destroy your original files. ```bash
stow <modules that you want to install>
```
Alternatively, you may simply copy the files to your $HOME folder.