Back to posts
Make your shell awesome

Make your shell awesome

Aryan Kanojia / August 3, 2025

Customizing your terminal can significantly enhance your productivity and make your coding experience more enjoyable. Here are some tips and tricks to make your shell awesome.

Install Oh My Zsh with Powerlevel10k (No Manual .zshrc Edits)

This guide sets up Oh My Zsh with the Powerlevel10k theme on Linux (Ubuntu/Debian), without needing to manually edit your .zshrc.


✅ Step 1: Install Prerequisites

sudo apt update
sudo apt install zsh git curl -y

✅ Step 2: Install Oh My Zsh with Powerlevel10k

Use this one-liner to install Oh My Zsh with Powerlevel10k as the default theme:

ZSH_THEME="powerlevel10k/powerlevel10k" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

✔️ This command will:

  • Install Oh My Zsh
  • Set Powerlevel10k as the theme (in .zshrc)
  • No manual edits required!

✅ Step 3: Restart Shell

After installation, restart your terminal or run:

exec zsh

✅ Step 4: Configure Powerlevel10k

Run the Powerlevel10k configuration wizard:

p10k configure

This will launch an interactive wizard to help you style your prompt.

📝 It generates ~/.p10k.zsh and auto-loads it via .zshrc.


✅ Step 5: Install a Nerd Font (For Icons/Symbols)

Powerlevel10k uses glyphs that require a Nerd Font.

Option A: Install via APT (Simplest)

sudo apt install fonts-firacode -y

Option B: Manually Download

  1. Go to: https://www.nerdfonts.com/font-downloads
  2. Download MesloLGS Nerd Font or FiraCode Nerd Font
  3. Install it by double-clicking or placing it in ~/.fonts/
  4. Set it in your terminal preferences

✅ Step 6: Done!

You now have:

  • Oh My Zsh installed
  • Powerlevel10k active
  • Nerd font-enabled prompt
  • No manual .zshrc changes

To rerun the prompt setup:

p10k configure

Enjoy your new terminal experience! 🎉