MacOS – How to disable the “theme loaded” message in zsh

itermmacosterminalzsh

Im using zsh as my default shell and loving it. I have random themes enabled, and whenever I load a theme it displays a message on my terminal. How do I disable this message?

Im talking about
[oh-my-zsh] Random theme '/Users/r3dsm0k3/.oh-my-zsh/themes/ys.zsh-theme' loaded...

How to disable it from showing in the terminal ?

Best Answer

Comment out:

  • line 77 of ~/.oh-my-zsh/oh-my-zsh.sh (beginning with echo)
  • line 9 of ~/.oh-my-zsh/plugins/themes/themes.plugin.zsh (beginning with echo)