Update README.md

master
Quentin Duchemin 2019-03-13 15:37:08 +01:00 committed by GitHub
parent 2f8501d82b
commit 3528379020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -107,4 +107,16 @@ The `~/.init_config.sh` script will copy relevant files (laptop or desktop) in t
Example : see `~/.config/lightdm` directory.
Note this is a quick and quite dirty solution.
### Git Hook
You may want to add a file named `post-merge` in `~/.cfg/hooks` with contains something like :
```bash
#!/bin/sh
exec ~/.init_config.sh <whatever you environment is>
```
When you pull, changes are applied automagically.
Note this is a quick and quite dirty solution.