Terminal Setup

Complete guide to setting up a modern zsh terminal with starship, fastfetch, and more.

1. Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install Core Tools

Install essential tools like Starship prompt, Fastfetch, Zoxide, and Fzf.

brew install starship fastfetch zoxide fzf eza

3. Zsh Configuration (.zshrc)

Add the following to your ~/.zshrc file.

# Initialize Starship
eval "$(starship init zsh)"

# Initialize Zoxide (smarter cd)
eval "$(zoxide init zsh)"
alias cd="z"

# Better ls (eza)
alias ls="eza --icons"
alias ll="eza -l --icons"
alias la="eza -la --icons"

# Run fastfetch on terminal startup
fastfetch

Reload your terminal, and you're good to go!