add example to readme

This commit is contained in:
James Dixon 2022-05-10 20:03:49 -04:00
parent 6da8159ba2
commit b96847707c

View File

@ -37,24 +37,30 @@ git clone https://github.com/lemonase/dotfiles.git && cd dotfiles/config
## Using `stow` ## Using `stow`
### Installing symlinks ### Installing all symlinks
```bash ```bash
stow -t "$HOME" -S * stow -t "$HOME" -S *
``` ```
### Uninstalling symlinks ### Uninstalling all symlinks
```bash ```bash
stow -t "$HOME" -D * stow -t "$HOME" -D *
``` ```
### Repairing symlinks ### Repairing all symlinks
```bash ```bash
stow -t "$HOME" -R * stow -t "$HOME" -R *
``` ```
### Installing specific dotfiles
```bash
stow -t "$HOME" -S git
```
If there are no errors, everything in that directory should be symlinked. If there are no errors, everything in that directory should be symlinked.
Check by doing a quick `ls -al ~/` Check by doing a quick `ls -al ~/`