Add initial log for Omarchy setup script execution with Zsh configuration

- Created a log file capturing the setup process for the Omarchy script.
- Included detailed steps for installing Zsh and related tools.
- Documented errors encountered during package installations due to database lock.
- Logged successful installations and configuration updates for Zsh and Oh My Zsh.
- Captured user prompts and actions taken during the setup process.
This commit is contained in:
Marco Gallegos
2025-11-15 12:14:55 -06:00
parent 8e370fec39
commit 380b354340
8 changed files with 363 additions and 42 deletions

View File

@@ -48,7 +48,10 @@ install_zsh() {
# --- 3. Descargar y configurar el .zshrc personalizado ---
log_info "Descargando configuración .zshrc desde el repositorio..."
if curl -fsSL "${REPO_BASE}/.zshrc" -o "$HOME/.zshrc.omarchy-tmp"; then
# Crear copia de seguridad antes de sobrescribir
backup_file "$HOME/.zshrc" || return 1
if curl -fsSL "${REPO_BASE}/.zshrc" -o "$HOME/.zshrc.omarchy-tmp" && [[ -s "$HOME/.zshrc.omarchy-tmp" ]]; then
mv "$HOME/.zshrc.omarchy-tmp" "$HOME/.zshrc"
log_success "Archivo .zshrc actualizado."
else