handle symlink when removing chezmoi

This commit is contained in:
Alexander Navarro 2024-08-08 15:50:41 -04:00
parent 91526079fc
commit 3d28ac9260
5 changed files with 12 additions and 5 deletions

View file

@ -6,11 +6,11 @@ Please ensure the that git is installed and you have an ssh key registered,
then execute the following command:
```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --apply aleee-idk/mini-dots
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --promptBool 'keep chezmoi?=false' --apply aleee-idk/mini-dots
```
To set up the dotfiles and then delete all traces of the manager, run:
```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply --one-shot aleee-idk/mini-dots
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --promptBool 'keep chezmoi?=false' --one-shot aleee-idk/mini-dots
```