Skip to content

Instantly share code, notes, and snippets.

@NahianAhmed
Last active September 2, 2025 20:01
Show Gist options
  • Select an option

  • Save NahianAhmed/8578cc61561ced7c671ac9ea885e9aed to your computer and use it in GitHub Desktop.

Select an option

Save NahianAhmed/8578cc61561ced7c671ac9ea885e9aed to your computer and use it in GitHub Desktop.
Setup auto suggestions in terminal with oh my zsh

⚑ Oh My Zsh Setup Guide

Oh My Zsh

Boost your terminal experience with Oh My Zsh πŸš€
Follow the steps below to install and configure it with useful plugins.


πŸ›  Install curl

sudo apt install curl

πŸ’» Install Oh My Zsh

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

πŸ”Œ Install Plugins

✨ Autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

🎨 Syntax Highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

βš™οΈ Enable Plugins

  1. Open .zshrc
    nano ~/.zshrc
  2. Find this line:
    plugins=(git)
  3. Replace it with:
    plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
  4. Save & exit, then apply changes:
    source ~/.zshrc

🎨 Install Powerlevel10k Theme

For a sleek and customizable terminal look ✨:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git   ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Then edit .zshrc and set the theme:

ZSH_THEME="powerlevel10k/powerlevel10k"

Apply changes:

source ~/.zshrc

When you restart the terminal, Powerlevel10k will guide you through a setup wizard.


πŸ“š References


βœ… Done! Enjoy your supercharged terminal ⚑

@NahianAhmed
Copy link
Copy Markdown
Author

For Linux installing curl may be needed.

@NahianAhmed
Copy link
Copy Markdown
Author

If zsh isn't install
sudo apt install zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment