mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 21:35:16 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user