diff --git a/chezmoi.roots/_home/private_dot_config/sz.env/981_chezmoi.env.tmpl b/chezmoi.roots/_home/private_dot_config/sz.env/981_chezmoi.env.tmpl index f99fc3b..e9fb38e 100644 --- a/chezmoi.roots/_home/private_dot_config/sz.env/981_chezmoi.env.tmpl +++ b/chezmoi.roots/_home/private_dot_config/sz.env/981_chezmoi.env.tmpl @@ -43,7 +43,7 @@ if is_cmd 'chezmoi'; then chezmoi edit "${EDITLIST[@]}" --apply --interactive } alias czx="CZ_EXTR=1 chezmoi " - alias cz-reset-home="(czcd; cd ..; RESET=reset ./symclone.sh _home.macos; RESET=reset ./symclone.sh _home)" + alias cz-reset-home="(czcd; cd ..; RESET=reset SRC_DIR=_src.all ./symclone _home; RESET=reset ./symclone.sh _home.macos)" fi # vim: set ft=sh sw=4 sts=4 et: diff --git a/chezmoi.roots/symclone.sh b/chezmoi.roots/symclone.sh index 2b4c541..4019422 100755 --- a/chezmoi.roots/symclone.sh +++ b/chezmoi.roots/symclone.sh @@ -13,7 +13,7 @@ if is_cmd chezmoi && [[ -z "$RESET" && -z "$SRC_DIR" && -z "$DEST_DIR" ]]; then fi # Source directory (existing structure with files) -SRC_DIR=${SRC_DIR:-_src.posix} +SRC_DIR=${SRC_DIR:-_home} SCRIPT_NAME="${0##*/}" usage() {