![]() I know which changes to apply and will do it myself.Ĭongratulations, we have installed the Powerlevel10k theme for Zsh using Oh My Zsh. Then you will be asked whether you want to save changes or not as shown in the below prompt. After preferences, you will be asked the following question. One of the questions is shown in the picture below for reference.Īnswer these questions according to your preferences. Answer those accordingly to set up the theme properly.Īfter these questions, the prompt will ask you about your preferences like what style, line spacing, etc you want. The prompt is going to ask you multiple questions like the one shown in the above picture. zshrcĪbove command will take you to the following prompt.Īs the above shape doesn’t look like a diamond, I am going to press n to continue. zshrc file we need to source it in order to complete applying the new theme.Įxecute the below command and answer the prompts to do this. When asked if you want to save these changes enter Y and hit Enter.Īfter exiting the. Notice that we’ve commented the previous theme and added a new line specifying Powerlevel10k as the Zsh theme. # to know which specific one was loaded, run: echo $RANDOM_THEME # load a random theme each time oh-my-zsh is loaded, in which case, # Set name of the theme to load - if set to "random", it will # export PATH=$HOME/bin:/usr/local/bin:$PATH ![]() Modified # If you come from bash you might have to change your $PATH. The file should look like the following prompt after you’re done editing. Make this line into a comment and add this new line ZSH_THEME="powerlevel10k/powerlevel10k" to apply the theme. The above picture shows the theme that is currently being used by the Z shell in robbyrussell. We need to apply the newly downloaded Powerlevel10k theme by editing this file. I am using the nano editor to edit the file. zshrc file with any text editor of your choice. zshrc file and change the default theme it is operating on. Now that our desired theme for the Z shell has been installed, we need to go into the. The output from the execution of the above command is shown in the picture below. git clone -depth=1 $/themes/powerlevel10k Execution of the following command will achieve this. To install the Powerlevel 10k theme we need to clone the GitHub repository first. We’ll quickly cover how to install it on Debian/Ubuntu-based systems or RHEL-based systems: ![]() Oh My Zsh is a community framework that is used to manage the Z shell configuration. You can achieve this using our tutorial on Installing Oh My Zsh on Linux. A great benefit of using Zsh is that it is way more configurable and offers support for plugins and themes. To do this you can use our tutorial on How to Install Zsh on Linux. To install Powerlevel10k with Oh My Zsh you’ll need the following: ![]()
0 Comments
Leave a Reply. |