1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 18:34:48 +00:00

Update README.md

This commit is contained in:
deadc0de
2018-02-26 09:06:58 +01:00
committed by GitHub
parent 68c78c9941
commit b87c90d2f4

View File

@@ -338,7 +338,7 @@ A typical use-case for transformations is when the dotfile needs to be
stored encrypted.
Here's an example of part of a config file to use gpg encrypted dotfiles:
```
```yaml
dotfiles:
f_secret:
dst: ~/.secret
@@ -355,15 +355,15 @@ directory and uses gpg to decrypt it when install is run.
Here's how to deploy the above solution:
* import the clear dotfile (creates the correct entries in the config file)
```
```bash
./dotdrop.sh import ~/.secret
```
* encrypt the original dotfile
```
```bash
<some-gpg-command> ~/.secret
```
* overwrite the dotfile with the encrypted version
```
```bash
cp <encrypted-version-of-secret> dotfiles/secret
```
* edit the config file and add the transformation to the dotfile