
Table of Contents
If you use the simple Bash Terminal in your OS, you may want to give Zsh a try to use a faster and safer terminal with many more features. The simple Bash that exist in the common dist of Linuxes are not changed over years and just received some security fixes, but the community behind Zsh are improving it everyday and bring new useful plugins.
I use ‘Oh my Zsh’, Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.

Installing it is easy, here we go:
First we install zsh itself
On Ubuntu/Kubuntu:
| |
On Manjaro/Arch:
| |
And then ‘Oh my Zsh’ framework
Via Curl
| |
Or via Wget
| |
During installation it will ask you if you want to make it your default terminal and you may answer yes.
If you skipped that step or your distro did not change it automatically, you can change your default shell manually:
| |
Log out and back in after changing your default shell.
Configure Oh My Zsh
You can configure Oh My Zsh to change how it updates, enable or disable plugins, set the default user, and more. Open your own ~/.zshrc file without sudo:
| |
Here is a simple Linux-friendly example. Keep only the plugins you really use:
| |
Installing Powerlevel10k Theme
Powerlevel10k is a fast and customizable theme for Zsh. Oh My Zsh uses ~/.oh-my-zsh/custom as ZSH_CUSTOM by default, so first make sure its custom theme and plugin directories exist:
| |
Then download Powerlevel10k:
| |
Then set it as your theme in ~/.zshrc:
| |
Install the font in the next section before you reload Zsh or open a new terminal. The first time Powerlevel10k loads, it will start a setup wizard to help you choose the prompt style.
Installing Font
Powerlevel10k needs a Nerd Font to show icons and prompt symbols correctly. If you use Powerlevel10k, install the Meslo font recommended for Powerlevel10k. If you use another theme later, regular Meslo Nerd Font is usually enough.
For Powerlevel10k
On Ubuntu/Kubuntu, install the Powerlevel10k Meslo font files manually for your current user:
| |
On Manjaro/Arch, install the matching package from the extra repository:
| |
For other themes
On Ubuntu/Kubuntu, install Meslo Nerd Font manually for your current user:
| |
On Manjaro/Arch, you can install Meslo Nerd Font from the package manager:
| |
If you installed ttf-meslo-nerd-font-powerlevel10k for Powerlevel10k, you do not need to install ttf-meslo-nerd too.
You can verify the installed font name with:
| |
After installing the font, reload Zsh:
| |
You can also just open a new terminal.
Optional: useful plugins
You can also install these two plugins for a better experience with Oh My Zsh:
| |
Then enable them in the plugins=(...) list in ~/.zshrc. Keep zsh-syntax-highlighting last:
| |
Reload Zsh after changing the plugins:
| |
You can also just open a new terminal.
Change the default terminal in VSCode or Cursor

Ok so by now we have installed and configured Zsh, set Powerlevel10k as the theme, and installed a compatible font. VSCode or Cursor may still use the default Bash as the integrated terminal, so we want to change it to Zsh. After installing the font, restart VSCode or Cursor so it can detect it.
Now we can configure VSCode or Cursor to use Zsh. Add the following lines to settings.json or find them one by one in settings and apply them:
| |
Omid Farhang