From 6e75c3a27e5189cfa46ba5ff76a81d8170a56834 Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Sun, 29 May 2022 03:23:13 -0400 Subject: [PATCH] Improve documentation --- .init_script/bash | 4 ++++ README.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/.init_script/bash b/.init_script/bash index 98e247a..8955fad 100755 --- a/.init_script/bash +++ b/.init_script/bash @@ -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 diff --git a/README.md b/README.md index 7e66cbd..704da52 100644 --- a/README.md +++ b/README.md @@ -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 +``` +