|
||
---|---|---|
dotfiles | ||
sadedot@b10bbd72c7 | ||
scripts | ||
.gitignore | ||
.gitmodules | ||
LICENSE.md | ||
README.md |
README.md
cdotfis
Personal dotfiles saved and deployed using sadedot.
Table of contents
Installation
Fork this repository and clone it:
git clone --recursive ${REPO_URL}
where ${REPO_URL}
is your git repository remote url (HTTPS or SSH). For example, in my case:
git clone --recursive git@git.slc.ar:slococo/cdotfis.git
Usage
You have to move all your dotfiles to the dotfiles folder and then a sadedot
script will do the symbolic links. Doing it this way, you can now upload them to your repository (to have a backup of them).
You should note that all 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.
So, to run the script:
sh sadedot/scripts/bootstrap.sh
You can add shell scripts to the scripts
folder that will be run at the end of bootstrap.sh
. By default, sadedot/scripts/bootstrap.sh
will not run these scripts, so you will need to use the -p
flag if you want them to run.
Contributing
PRs are welcome.