Update: Replace Neofetch with Fastfetch

This commit is contained in:
2026-02-10 12:36:46 +01:00
parent ce99dd6c8e
commit bd54676b0c

View File

@@ -5,7 +5,7 @@ Guida completa per trasformare il terminale da "blu illeggibile" a una dashboard
## 📸 Anteprima
- **Tema:** Powerlevel10k (con Instant Prompt disabilitato per compatibilità)
- **Icone:** LSD (LSDeluxe) al posto di `ls`
- **Info:** Neofetch all'avvio
- **Info:** Fastfetch (più veloce di Neofetch) all'avvio
- **Font:** MesloLGS NF (Nerd Font)
---
@@ -18,8 +18,10 @@ Esegui questi comandi per installare i tool grafici necessari:
# Aggiorna i pacchetti
sudo apt update
# Installa Neofetch (Info sistema)
sudo apt install neofetch -y
# Aggiungi il PPA per Fastfetch (se necessario su Ubuntu vecchie) e installalo
sudo add-apt-repository ppa:zhangsongcui333666/fastfetch -y
sudo apt update
sudo apt install fastfetch -y
# Installa LSD (Icone colorate per i file)
sudo apt install lsd -y
@@ -54,7 +56,7 @@ Copia questo contenuto e incollalo nel tuo file `~/.zshrc` (`nano ~/.zshrc`):
```bash
# =============================================================================
# P10K INSTANT PROMPT
# Impostato su 'off' per evitare conflitti con Neofetch su WSL
# Impostato su 'off' per evitare conflitti con Fastfetch su WSL
# =============================================================================
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
@@ -104,7 +106,7 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# =============================================================================
# ALIAS & GRAFICA (LSD + Neofetch)
# ALIAS & GRAFICA (LSD + Fastfetch)
# =============================================================================
# Usa LSD se installato, altrimenti ls colorato
if (( $+commands[lsd] )); then
@@ -120,12 +122,13 @@ else
alias l='ls -CF --color=auto'
fi
alias grep='grep --color=auto'
alias neofetch='fastfetch' # Alias per abitudine
# =============================================================================
# STARTUP
# =============================================================================
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
neofetch
fastfetch
```
## 4. 🎨 Finalizzare il Setup