Changes symclone.sh and cz-reset-home to default to _home
This commit is contained in:
parent
b988c72339
commit
1110cb3dc7
|
@ -43,7 +43,7 @@ if is_cmd 'chezmoi'; then
|
||||||
chezmoi edit "${EDITLIST[@]}" --apply --interactive
|
chezmoi edit "${EDITLIST[@]}" --apply --interactive
|
||||||
}
|
}
|
||||||
alias czx="CZ_EXTR=1 chezmoi "
|
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
|
fi
|
||||||
|
|
||||||
# vim: set ft=sh sw=4 sts=4 et:
|
# vim: set ft=sh sw=4 sts=4 et:
|
||||||
|
|
|
@ -13,7 +13,7 @@ if is_cmd chezmoi && [[ -z "$RESET" && -z "$SRC_DIR" && -z "$DEST_DIR" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Source directory (existing structure with files)
|
# Source directory (existing structure with files)
|
||||||
SRC_DIR=${SRC_DIR:-_src.posix}
|
SRC_DIR=${SRC_DIR:-_home}
|
||||||
|
|
||||||
SCRIPT_NAME="${0##*/}"
|
SCRIPT_NAME="${0##*/}"
|
||||||
usage() {
|
usage() {
|
||||||
|
|
Loading…
Reference in New Issue