Iterm2 dracula theme10/28/2022 ![]() ![]() Typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=232 Second, uncomment the POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION variable and set its value to the GitLab FontAwesome icon in hex format $''. ![]() Typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( Fill it with the most important segments. # The list of segments shown on the left. p10k.zsh configuration file.įirst, uncomment the os_icon in the POWERLEVEL9K_LEFT_PROMPT_ELEMENTS variable: $ vim $HOME/.p10k.zsh Since I only use macOS, I decided to look for an alternative default icon: The GitLab Tanuki which I found available in the NerdFonts cheatsheet.Ĭopying the hex code, and reading about the correct syntax for setting the OS_ICON variable helped modify the. I liked the context separator line, and colorful blocks in the interface. I went with Light Rainbow theme to see how it goes. In case you closed it, run the following command: p10k configure Customizing my theme was a breeze, really. Powerlevel10k has an awesome wizard which walks you through the steps, and also shows different UI examples. The first run of Powerlevel10k also prompts with the configuration wizard described next. $ git clone -depth=1 $/themes/powerlevel10k The environment variable is automatically set after installing Oh-My-ZSH. Next, clone the theme into the $ZSH_CUSTOM/themes directory. Double-click them to install, and navigate into the iTerm2 preferences into Preferences > Profiles > Text > Font and search for MesloLGS NF in the dropdown. ITERM2 DRACULA THEME DOWNLOADPowerlevel10kįollow the installation instructions and download the font files. I'm using a Brewfile to manage the installation. ITERM2 DRACULA THEME INSTALLInstall additional ZSH goodies with Homebrew for auto-completion and syntax highlighting: $ brew install zsh-completions zsh-syntax-highlighting ![]() If you haven't installed Oh-My-ZSH yet, follow the documentation and my dotfiles customizations and aliases. In this blog post, we'll walk through Oh-My-ZSH, Powerlevel10k, and its installation and configuration, including an icon override and more. Recently I came around Powerlevel10k and wanted to try it, mainly because it has an "instant prompt" feature - I had experienced slow loading times with pyenv and rbenv. I have been using the Spaceship prompt with Oh-My-ZSH for a while, but never really bothered with changing the configuration. Terminal integrations and themes help with a clear UX, CLI command details, and information on the current versions, name, and path, for example showing the Git branch or not-committed changes. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |