Improve documentation

This commit is contained in:
Gal Szkolnik 2022-05-29 03:23:13 -04:00
parent 836bfe1193
commit 6e75c3a27e
2 changed files with 12 additions and 0 deletions

View File

@ -12,5 +12,9 @@ if (type chezmoi >/dev/null 2>&1); then
fi
fi
sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply Lockszmith
echo ''
echo 'You should restart the shell (`exec $SHELL`) or re-login, and then run `sz-doctor.sh` to check'
echo ''
}
main

View File

@ -22,3 +22,11 @@ sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply Lockszmith
```
sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply git@github.com:Lockszmith/dotfiles.git
```
## Troubleshooting
Run the [`sz-doctor.sh`](_home/bin/executable_sz-doctor.sh) shell script, it should be installed into the `~/bin` dir by chezmoi, if chezmoi fialed, you can still download it directly from the web buy running:
```
> curl -fsLS lksz.me/sz-doctor.sh | bash
```