Powerlevel10k & Tabby

Photo by Clément Hélardot on Unsplash

Required configuration:

  1. You are a Mac user (not to say lover ;-) )
  2. Tabby is already installed on your Mac (http://tabby.sh)
  3. Oh My Zsh is already installed and working (https://ohmyz.sh)

Installing PowerLevel10k optimized fonts

The first thing to do is to download the optimized fonts “required” by Powerlevel10k and install them on your Mac.

Unlike iTerms2, most other terminal apps are requiring a manual installation of the required fonts. In case the below links are broken, check the Powerlevel10k repo on Github for up-to-date links: https://github.com/romkatv/powerlevel10k#fonts

  1. Donwload the fonts:
    MesloLGS NF Regular.ttf
    MesloLGS NF Bold.ttf
    MesloLGS NF Italic.ttf
    MesloLGS NF Bold Italic.ttf
  2. Install the fonts by double clicking on the downloaded files to open Apple Font Book. The install prompt should popup on your screen. Click on the install font at the boom of the popup window.

Once the font installation is competed you can check your font configuration on the main Font Book window

Make sure all the Meslo NerdFont variants are properly installed on your Mac

Now that the optimized fonts are installed, let’s make sure that Tabby is using them by opening Tabby’s preferences and going to the Appearance section:

Setting MesloGS NF in Tabby’s Preferences/Appearance

Adding Powerlevel10k to Oh My Zsh

Open Tabby and type in the following command

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

This will install Powerlevel10k in your oh my zsh folder under the custom/themes path.

Now just open a new tab or window and you should be facing powerlevel10k configurator welcome screen and follow the steps.

One thing I had to do, edit my .zshrc file change how the ~/.p10k.zsh file is loaded.

if [ -f ~/.p10k.zsh ]; then source ~/.p10k.zsh; fiin stead of 
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

Updating Powerlevel10k

git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store