1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 21:49:00 +00:00

move profiles dotfiles under sub-entry "dotfiles"

This commit is contained in:
deadc0de6
2017-09-15 13:13:19 +02:00
parent 7a1eecd382
commit 2c9b039d21
2 changed files with 58 additions and 20 deletions

View File

@@ -121,10 +121,12 @@ the config files, for example:
...
profiles:
host1:
- f_vimrc
- f_xinitrc
dotfiles:
- f_vimrc
- f_xinitrc
host2:
- f_vimrc
dotfiles:
- f_vimrc
...
```
@@ -203,6 +205,7 @@ the following entries:
```
<some-name-usually-the-hostname>:
dotfiles:
- <some-dotfile-key-name-defined-above>
- <some-other-dotfile-key-name>
- ...
@@ -295,7 +298,8 @@ dotfiles:
- vundle
profiles:
home:
- f_vimrc
dotfiles:
- f_vimrc
```
Thus when `f_vimrc` is installed, the command
@@ -379,9 +383,11 @@ dotfiles:
src: xinitrc
profiles:
home:
- f_xinitrc
dotfiles:
- f_xinitrc
office:
- f_xinitrc
dotfiles:
- f_xinitrc
```
Installing the dotfiles (the `--profile` switch is not needed if