NZroot.dev

Terminal Productivity with ZSH and Oh-My-Zsh

Sep 12, 2024

Turn your terminal into a productivity powerhouse. Plugins, themes, and aliases that save me hours every week.

If you live in the terminal like I do, the default Bash shell might feel a bit limited. Enter Z Shell (ZSH).

Installation

On Ubuntu/Debian:

sudo apt install zsh
chsh -s $(which zsh)

Oh-My-Zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration.

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

Essential Plugins

Enable these in your .zshrc:

  1. zsh-autosuggestions: Suggests commands as you type based on history.
  2. zsh-syntax-highlighting: Enables highlighting of commands while they are typed.
plugins=(git docker kubectl zsh-autosuggestions zsh-syntax-highlighting)

With these tools, my terminal experience is faster, smarter, and way better looking.