summaryrefslogtreecommitdiff
path: root/README.md
blob: b9d5f5518bb2c674c634bedd60297003e1fab095 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# dotfiles

Installer framework only available in bash.

### Control installation 
Installation of the config files is controlled with the `install.config` file. The format of a line in the file is as follows:
```
[yYnN] - <config_tag>
```
Where `yY` means to install the config file and `nN` means to skip installation for this config file.
Any line not matching the regex `^[yYnN][[:blank:]]?-` is ignored. 


The installation process is triggered by executing the `install` file.

### Adapt installation of config files
The installation of a particular config file can be adapted by modifying the corresponding installer function.
Follow the `<config_tag>` in the `gToolsConfig` map (defined in `install`) to find the name of the installer function. The name is the third entry for the tag.

### Adding additional config files

First add an entry in the `gToolsConfig` map in the `install` file. Entries have the following format:
```
"<config_tag>:<dep_binary>:<installer_function_name>"
```
Then create and implement the installer function with the name provided in the newly created entry.

To enable installion create an entry in the `install.config` file with the tag that matches the tag provided in the `gToolsConfig`.