system init updates; auto create config for first-time local; auto-link sudo vimrc

This commit is contained in:
2024-08-14 19:11:52 -06:00
parent a29a07c0aa
commit 74323b7568
3 changed files with 41 additions and 45 deletions

View File

@ -23,14 +23,14 @@ source ./requirements.zsh || exit 1
LOGFILE="$HOME/dotwryn-install.log"
INFO "installation start : $(date)" 2>> "$LOGFILE"
STATUS "installation start : $(date)" 2>> "$LOGFILE"
{
SETUP__OS || FAIL 1 'failed to set up os-dependencies (see above)'
SETUP__GIT || FAIL 2 'failed to set up git (see above)'
SETUP__CONFIG || FAIL 3 'failed to set up program configuration (see above)'
} 2>&1 | tee --append "$LOGFILE"
INFO "installation complete: $(date)" 2>> "$LOGFILE"
STATUS "installation complete: $(date)" 2>> "$LOGFILE"
################################################################################
yN 'keep logfile?' \