move welcome banner from chezmoi script to env.lat bootstrap

The banner with "Press Enter to continue" now shows early in env.lat,
right after installing prerequisites and terminfo but before cloning
chezmoi. Removes unused ASSUME_YES flag from the chezmoi script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-03-03 20:50:28 +03:00
parent 63c58c96be
commit e54f9d6dfb

View File

@ -48,7 +48,6 @@ else
fi
# Non-interactive mode flags
ASSUME_YES=0
NON_INTERACTIVE=0
SKIP_TIMEZONE=0
SKIP_AUTH_KEYS=0
@ -57,7 +56,6 @@ SKIP_NVIM_BOOTSTRAP=0
while [ $# -gt 0 ]; do
case "$1" in
--yes) ASSUME_YES=1 ;;
--non-interactive) NON_INTERACTIVE=1 ;;
--skip-timezone) SKIP_TIMEZONE=1 ;;
--skip-authorized-keys) SKIP_AUTH_KEYS=1 ;;
@ -93,23 +91,6 @@ fi
cd
if [ "$NON_INTERACTIVE" -eq 0 ]; then
echo -e "
$Green""###############################################################################
## ##
## Ready to install Anton Volnuhin's env ##
## ##
## Press $Yello""Enter"$Green" to continue, $Yello""Ctrl-C"$Green" to abort ##
## email: anton@volnuhin.com ##
## ##
###############################################################################$NC
"
read
fi
#Setup
USER=$(whoami)