To install and use Powerlevel10k theme, you first need to install the recommended font, Meslo Nerd Font patched for Powerlevel10k.ĭownload Meslo Nerd Font patched for Powerlevel10k fonts cd $HOME/Downloads wget wget wget wget echo $ZSH_CUSTOMįor example, let us try Powerlevel10k. Custom themes can be installed on $ZSH_CUSTOM directory. There are also other external ohmyzsh themes that you can check on. Then, define the themes to use in a random manner as in ZSH_THEME_RANDOM_CANDIDATES=( "gnzh" "agnoster" "robbyrussel" )Ĭheck more themes on ohmyzsh themes Github repository. Want to use multiple selected themes randomly? Edit the $HOME/.zshrc and set the theme to random. Reload the ~/.zshrc to effect the changes everytime you make changes. To change the theme, simply get the name of the theme from $HOME/.oh-my-zsh/themes/ and replace robbyrussell with it.įor example, to change the theme to gnzh theme, $HOME/.oh-my-zsh/themes/gnzh.zsh-theme, update the ZSH_THEME line so it look like ZSH_THEME="gnzh" # 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 Robbyrussel is the default theme for ZSH. To change the ZSH theme, open the configuration file, $HOME/.zshrc, and set the value of ZSH_THEME= to the name of your preferred theme. ls -1 $HOME/.oh-my-zsh/themes/ 3den.zsh-theme Oh-My-Zsh themes are located under $HOME/.oh-my-zsh/themes/. Note that ZSH config file is $HOME/.zshrc. The Oh-my-Zsh configuration files are located under $HOME/.oh-my-zsh/ directory. Want the “oh-my-zsh” feeling, right? Proceed to configure it. See the screenshot below Ĭonfigure Oh-My-Zsh on Ubuntu 20.04/Ubuntu 22.04 You will be prompted to set your Zsh start up files.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |