Update sadedot.md

This commit is contained in:
Santiago Lo Coco 2023-08-18 08:17:22 -03:00
parent ab8eb5ddd0
commit 0e3b9c6733
1 changed files with 7 additions and 7 deletions

View File

@ -12,15 +12,15 @@ category: personal
[This][4] repo is supposed to be used as a submodule. So, if you already have a git repo with your dotfiles:
```
git submodule add git@github.com:santilococo/sadedot.git
git submodule add git@codeberg.org:slococo/sadedot.git
git submodule update --init
```
And if you don't, you can [fork][1] my dotfiles repo on github.
And if you don't have one, you can [fork][1] my dotfiles repo on codeberg.
### Usage
You have to move all your dotfiles to a folder named `dotfiles` (see [my repo][3] for an example) and then the script will do the symbolic links. Doing it this way, you can now push them to your github repo (so you have a backup of them).
You have to move all your dotfiles to a folder named `dotfiles` (see [my repo][3] for an example) and then the script will do the symbolic links. Doing it this way, you can now push them to your git repo (so you have a backup of them).
You should note that all of these dotfiles (files or folders) will be symlinked in `$HOME`. So, if you want to symlink, for example, something in `/etc`, you have to put it in the `dotfiles/other` folder. Here you have to be careful as they will be installed in `/`. You can see an example [here][2].
@ -61,7 +61,7 @@ To keep the submodule up to date, you need to run:
git submodule foreach git pull
```
[1]: https://github.com/santilococo/cdotfis/fork
[2]: https://github.com/santilococo/cdotfis/tree/master/dotfiles/other
[3]: https://github.com/santilococo/cdotfis
[4]: https://github.com/santilococo/sadedot
[1]: https://codeberg.org/slococo/cdotfis/fork
[2]: https://codeberg.org/slococo/cdotfis/tree/master/dotfiles/other
[3]: https://codeberg.org/slococo/cdotfis
[4]: https://codeberg.org/slococo/sadedot