
🎯 Goal
- Hide
@computername - Use a clean, professional prompt
- Reload config safely
✅ Step 1: Open zsh config with vi
vi ~/.zshrc
✅ Step 2: Add the custom prompt
# --- Custom prompt ---
# Colors
BLUE="%F{blue}"
RESET="%f"
# Prompt with color
PROMPT="${BLUE}%1~${RESET} ❯ "
✅ Step 4: Save and exit vi
✅ Step 5: Reload the config
source ~/.zshrc
Your prompt updates immediately.
🔁 Do I always need to run source ~/.zshrc?
- ✅ Yes → to apply changes now
- ❌ No → if you open a new Terminal window