Update: Replace Neofetch with Fastfetch
This commit is contained in:
15
README.md
15
README.md
@@ -5,7 +5,7 @@ Guida completa per trasformare il terminale da "blu illeggibile" a una dashboard
|
|||||||
## 📸 Anteprima
|
## 📸 Anteprima
|
||||||
- **Tema:** Powerlevel10k (con Instant Prompt disabilitato per compatibilità)
|
- **Tema:** Powerlevel10k (con Instant Prompt disabilitato per compatibilità)
|
||||||
- **Icone:** LSD (LSDeluxe) al posto di `ls`
|
- **Icone:** LSD (LSDeluxe) al posto di `ls`
|
||||||
- **Info:** Neofetch all'avvio
|
- **Info:** Fastfetch (più veloce di Neofetch) all'avvio
|
||||||
- **Font:** MesloLGS NF (Nerd Font)
|
- **Font:** MesloLGS NF (Nerd Font)
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -18,8 +18,10 @@ Esegui questi comandi per installare i tool grafici necessari:
|
|||||||
# Aggiorna i pacchetti
|
# Aggiorna i pacchetti
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
||||||
# Installa Neofetch (Info sistema)
|
# Aggiungi il PPA per Fastfetch (se necessario su Ubuntu vecchie) e installalo
|
||||||
sudo apt install neofetch -y
|
sudo add-apt-repository ppa:zhangsongcui333666/fastfetch -y
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install fastfetch -y
|
||||||
|
|
||||||
# Installa LSD (Icone colorate per i file)
|
# Installa LSD (Icone colorate per i file)
|
||||||
sudo apt install lsd -y
|
sudo apt install lsd -y
|
||||||
@@ -54,7 +56,7 @@ Copia questo contenuto e incollalo nel tuo file `~/.zshrc` (`nano ~/.zshrc`):
|
|||||||
```bash
|
```bash
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# P10K INSTANT PROMPT
|
# 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
|
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
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'
|
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
|
# Usa LSD se installato, altrimenti ls colorato
|
||||||
if (( $+commands[lsd] )); then
|
if (( $+commands[lsd] )); then
|
||||||
@@ -120,12 +122,13 @@ else
|
|||||||
alias l='ls -CF --color=auto'
|
alias l='ls -CF --color=auto'
|
||||||
fi
|
fi
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
|
alias neofetch='fastfetch' # Alias per abitudine
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# STARTUP
|
# STARTUP
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
neofetch
|
fastfetch
|
||||||
```
|
```
|
||||||
|
|
||||||
## 4. 🎨 Finalizzare il Setup
|
## 4. 🎨 Finalizzare il Setup
|
||||||
|
|||||||
Reference in New Issue
Block a user