Currently, the configuration file is quite big but I’m pretty sure not everything in this file is really required. It is more or less based on the generated configuration file using the lean set up. I haven’t checked the default values for the configuration content yet but I could imagine a lot of configurations are default and as such, could be removed from the configuration file.

P10kvsp10k

After the restart of my terminal, literally, nothing has changed. It looks like the drop-in replacement part seems to be true. Let’s check if we really use p10k now:

p10k is able to use the same configuration p9k is using, so if you only install p10k and change the theme in oh-my-zsh to p10k without further modifications, everything will look the same as it looked before. The only difference you might notice is that the terminal indeed behaves a little faster. This is, what I did first:

P10kzsh

This line source the p10k configuration that is stored in the .p10k.zsh file. The one that creates the layout shown in the screenshot above is the following:

This includes my personal zsh plugins that are currently not available in other frameworks like oh-my-zsh. It seems to be a little challenge to get additional plugins included there. You can see them here:

P10kconfigure

The first thing I did was to clean up my .zshrc configuration file. I removed some of my oh-my-zsh plugins because I hadn’t used them recently. I also added some and ended up with the following .zshrc configuration file:

In my previous blog post about enhancing the MacOS terminal I used the powerlevel9k theme. When I was publishing the article on dev.to as well, I was made aware there is a re-implementation of p9k available called powerlevel10k. p10k is calling itself a fast drop-in replacement for Powerlevel9k. Fast sounds always good so I thought, give it a try.

So far, so good. But p10k should not only be a drop-in replacement, but it also offers additional functionality that goes beyond the functionality of p9k. One thing I personally like is the fact that p10k separate the configuration from the .zshrc file per default. p10k also comes with a wizard that generates a sample configuration. I started with the lean configuration and adjusted it in a way that it fits my need. This is how my terminal now looks like: