VSCode: configure OhMyZsh with autosuggestions and a beautiful color theme om Ubuntu

Install Zsh

First, ensure that Zsh is installed on your system. You can install it using the following commands:

sudo apt update
sudo apt install zsh

Set Zsh as Default Shell

chsh -s (which zsh)</code></pre> <!-- /wp:code -->  <!-- wp:heading --> <h2 class="wp-block-heading"><strong>Install Oh My Zsh</strong></h2> <!-- /wp:heading -->  <!-- wp:code --> <pre class="wp-block-code"><code>sh -c <code>(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh

Install Zsh Autosuggestions

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

Find the line that starts with plugins=(...) and add zsh-autosuggestions inside the parentheses. It should look something like this:

plugins=(git zsh-autosuggestions)

Then set ZSH_THEME="powerlevel10k/powerlevel10k" in your .zshrc:

nano ~/.zshrc

Apply Changes

source ~/.zshrc

Don’t miss these tips!

We don’t spam! Read our privacy policy for more info.

Open chat
Powered by