Skip to content

This repository provides a streamlined setup for Zsh with the Powerlevel10k theme, optimized for a visually appealing and highly functional terminal experience. It includes configurations, plugins, and customization tips to enhance productivity and shell efficiency.

Notifications You must be signed in to change notification settings

ariful305/setup-zsh-powerlevel10k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

πŸš€ Enhance Your Terminal with Oh My Zsh & PowerLevel10k

Developers often use the terminal, but the default look can be boring and lacks visual appeal. Today, we’ll transform our terminal into a beautiful, colorful, and smart environment using Oh My Zsh (OMZ) and PowerLevel10k (P10k).

With this setup, you’ll get:
βœ… Aesthetic customization ✨
βœ… Command suggestions & syntax highlighting πŸ–οΈ
βœ… A terminal that remembers your history 🧠


πŸ› οΈ Pre-requisites

  • Ubuntu base distro
  • Terminal

πŸ“Œ Install Zsh

Using APT (Ubuntu/Debian)

sudo apt install zsh

After installation, switch to zsh:

zsh

πŸ”₯ Zsh make it default:

echo $SHELL

In case if your default shell is not ZSH, then run the following command to make it default:

chsh -s $(which zsh)

πŸ”₯ Install Curl , git, wget

sudo apt update
sudo apt install curl git wget -y

πŸ”₯ Install Oh My Zsh

Run the following command:

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

🎨 Install PowerLevel10k

Using Git

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Now, enable it by updating your ~/.zshrc file:

ZSH_THEME="powerlevel10k/powerlevel10k"

πŸš€ Optional: Add Useful Plugins

zsh-syntax-highlighting

Enables command syntax highlighting to help catch errors before running commands.

Using Git

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

zsh-autosuggestions

Provides command suggestions based on history and completions.

Using Git

git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Now, enable these plugin by updating your ~/.zshrc file:

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Reload configuration using :

source ~/.zshrc

πŸŽ‰ Enjoy Your New Terminal!

Now you have a fully customized, powerful, and beautiful terminal! πŸš€

πŸ“Œ Next Steps:
βœ… Customize your PowerLevel10k prompt.
βœ… Add more Oh My Zsh plugins.
βœ… Start coding with an amazing terminal experience!


πŸ’‘ Contributions & Issues
If you have suggestions or issues, feel free to open a pull request or issue in this repository!

πŸ“Œ Happy Coding! πŸš€

About

This repository provides a streamlined setup for Zsh with the Powerlevel10k theme, optimized for a visually appealing and highly functional terminal experience. It includes configurations, plugins, and customization tips to enhance productivity and shell efficiency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published