Changes symclone.sh and cz-reset-home to default to _home

This commit is contained in:
Lockszmith 2025-04-18 14:24:24 -04:00
parent b988c72339
commit 1110cb3dc7
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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() {