DEV Community

Cover image for iTerm2 + Oh My Zsh! + Powerlevel10K best terminal combination for Geeks!

iTerm2 + Oh My Zsh! + Powerlevel10K best terminal combination for Geeks!

Camilo Martinez on September 19, 2018

There is a before and after listening to these letters together: ZSH. You may wonder: Why did not I hear about this before? D’oh! Oh My Zsh - a de...
Collapse
 
gabrielizalo profile image
Gabriel Porras

The Brew installation chaged. Nos this is the command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Enter fullscreen mode Exit fullscreen mode
Collapse
 
equiman profile image
Camilo Martinez

Fixed. Thanks for reporting the update! 🤘

Collapse
 
iolivares profile image
Iván Olivares Rojas

Thanks for this!

if you have a 404 problem to install the fonts, search here the solution: github.com/Homebrew/homebrew-cask-...

$ brew tap homebrew/cask-fonts         # You only need to do this once!
Enter fullscreen mode Exit fullscreen mode
Collapse
 
gunt profile image
gunt • Edited

hi Camilo,

Thank you for this powerful config.

I'm getting this exact same problem as the user suggest here

superuser.com/questions/1061181/it...

I'm not getting the colors theme.

Do you know how to fix it?

Thx.

Collapse
 
equiman profile image
Camilo Martinez

Hi Gunt, I have no idea.

Can you try with powerlevel10k. See comments below.

And run p10k config command. It's like a wizard configuration.

Maybe this can help. Let us know if works.

Collapse
 
gunt profile image
gunt

I try with powerlevel10k, I love it already, but the theme colors are not working. I'm still trying to fix it. I will let you know.

Collapse
 
romkatv profile image
Roman Perepelitsa

There is powerlevel10k now. It's 10 times faster than powerlevel9k and backward-compatible with its configs. You can switch theme without changing any of your POWERLEVEL9K options to keep the same prompt you are used to while making it blazingly fast.

First, clone powerlevel10k.

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Then set ZSH_THEME=powerlevel10k/powerlevel10k in your ~/.zshrc and restart zsh.

Collapse
 
equiman profile image
Camilo Martinez • Edited

Wow I watched the video and it's amazing.
Works like a charm and p10k configure command is the best.

Thanks!

Collapse
 
gabrielizalo profile image
Gabriel Porras

Hello,

The initial command: brew tap caskroom/cask is not working anymore.

Thanks for this step by step.

Collapse
 
equiman profile image
Camilo Martinez

You welcome.

I'll fix that. I see on documentation that on new versions don't need to install cask anymore, you just need homebrew.

Thanks!

Collapse
 
gabrielizalo profile image
Gabriel Porras

If you can update with PowerLevel10k. It's amazing.

Thread Thread
 
equiman profile image
Camilo Martinez

I'll add it as a bonus.

I'm using it actually and it's really fast.

Thread Thread
 
equiman profile image
Camilo Martinez

@gabrielizalo finally was updated to powerlevel10k

Collapse
 
jef profile image
Jef LeCompte

I know this is an old one now, but take a look at prezto and powerlevel10k. You might like the results!

Collapse
 
dbelyaeff profile image
Dmitriy Belyaev

Camilo, thank you so much!

I'd been using iTerm + zsh for a years, but even that I've found out something new for me from your post.

Collapse
 
equiman profile image
Camilo Martinez

Your welcome Dmitriy, do the free course I learned a lot.

Collapse
 
jpsingh10 profile image
Jashanpreet Singh

what theme are using for iterm2? what about the syntax highlighting

Collapse
 
equiman profile image
Camilo Martinez

I'm using Powerlevel9k theme: github.com/Powerlevel9k/powerlevel9k

and Syntax Highlight installed with brew:

brew install zsh-syntax-highlighting

Collapse
 
jpsingh10 profile image
Jashanpreet Singh

I’m talking about the interm2 color scheme, not the oh-my-zsh, sorry for the confusion

Thread Thread
 
equiman profile image
Camilo Martinez • Edited

No problem, that's my Appearance configuration:

iTerm Preferences