mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 22:34:10 +00:00
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -256,7 +256,6 @@ config file automatically.
|
|||||||
For example to import `~/.xinitrc`
|
For example to import `~/.xinitrc`
|
||||||
```bash
|
```bash
|
||||||
$ dotdrop.sh import ~/.xinitrc
|
$ dotdrop.sh import ~/.xinitrc
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## List profiles
|
## List profiles
|
||||||
@@ -351,20 +350,20 @@ directory and uses gpg to decrypt it when install is run.
|
|||||||
|
|
||||||
Here's how to deploy the above solution:
|
Here's how to deploy the above solution:
|
||||||
|
|
||||||
* import the clear dotfile (creates the entries in the config)
|
* import the clear dotfile (creates the correct entries in the config file)
|
||||||
```
|
```
|
||||||
./dotdrop.sh import ~/.secret
|
./dotdrop.sh import ~/.secret
|
||||||
```
|
```
|
||||||
* encrypt it and
|
* encrypt the original dotfile
|
||||||
```
|
```
|
||||||
<some-gpg-command> ~/.secret
|
<some-gpg-command> ~/.secret
|
||||||
```
|
```
|
||||||
* overwrite the dotfile
|
* overwrite the dotfile with the encrypted version
|
||||||
```
|
```
|
||||||
cp <encrypted-version-of-secret> dotfiles/secret
|
cp <encrypted-version-of-secret> dotfiles/secret
|
||||||
```
|
```
|
||||||
* edit the config file and add the transformation to the dotfile
|
* edit the config file and add the transformation to the dotfile
|
||||||
* commit and push changes
|
* commit and push the changes
|
||||||
|
|
||||||
## Update dotdrop
|
## Update dotdrop
|
||||||
|
|
||||||
@@ -381,7 +380,6 @@ Through pypi:
|
|||||||
$ sudo pip3 install dotdrop --upgrade
|
$ sudo pip3 install dotdrop --upgrade
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Update dotfiles
|
## Update dotfiles
|
||||||
|
|
||||||
Dotfiles managed by dotdrop can be updated using the `update` command.
|
Dotfiles managed by dotdrop can be updated using the `update` command.
|
||||||
|
|||||||
Reference in New Issue
Block a user