终端美学:让你的 Shell 更酷
$ cat ~/.config/aesthetics.conf
A beautiful terminal is not about vanity — it's about information density, readability, and the satisfaction of staring at a well-crafted interface for 8 hours a day.
The Font
Use a proper programming font with ligatures:
Top picks: ├── JetBrains Mono (free, great ligatures) ├── Fira Code (the OG ligature font) ├── Cascadia Code (Microsoft's surprisingly good offering) └── Iosevka (slim, customizable, nerd-approved)
The Color Scheme
Background: #0d1117 (GitHub dark) Foreground: #c9d1d9 Accent: #00ff41 (Matrix green) Red: #ff6b6b Yellow: #ffd93d Blue: #58a6ff Magenta: #bc8cff Cyan: #6ec6ff
The Prompt
Ditch the default bash prompt. Here's a clean zsh setup:
# Minimal zsh prompt PROMPT='%F{green}%n%f@%F{blue}%m%f %F{cyan}%~%f %(?.%F{green}❯.%F{red}❯)%f '
Or use starship for a cross-shell prompt:
# ~/.config/starship.toml format = """ $username@$hostname $directory$git_branch$character""" [character] success_symbol = "[❯](bold green)" error_symbol = "[❯](bold red)" [directory] truncation_length = 3
Useful Aliases
alias ll='ls -lah --color=auto' alias la='ls -A --color=auto' alias grep='grep --color=auto' alias ..='cd ..' alias ...='cd ../..' alias tree='tree -C' alias ports='ss -tulnp' alias myip='curl -s ifconfig.me'
The Terminal Emulator
| Terminal | Why |
|---|---|
| kitty | GPU-accelerated, fast, configurable |
| alacritty | Minimal, GPU-accelerated, no tabs |
| foot | Wayland-native, lightweight |
| wezterm | Feature-rich, Lua-configurable |
Neofetch Alternatives
# Fastfetch — the new cool kid $ fastfetch # Or just: $ cat /etc/os-release $ uname -r $ uptime -p
ASCII Art for Fun
╔══════════════════════════════╗ ║ Terminal Aesthetics Level: ║ ║ ████████████████████ 100% ║ ║ Status: MAXIMUM COOL ║ ╚══════════════════════════════╝
Conclusion
Your terminal is your workspace. Make it comfortable, make it informative, make it yours. A well-configured terminal is more productive than any fancy GUI IDE.
$ exit
logout
Happy hacking!