My terminal theme

This theme is build on the top of zsh and the famous OH MY ZSHELL. Besides, it has been included in the official OH MY ZSH repo : D

To a compatible theme, I think it’s better not to use special characters like ╭  ➜  ✗ . If you want your theme works fine on both Unix and Windows, a clean format and a simple color scheme are necessary. Therefore, I use only ANSI Character Set and ANSI Colors. The main goal of this theme is to make the  *nix servers’ admins happy. This theme is even more robust than the default theme robbyrussell.

I separate each command group with an empty line in front of the “#” prompt. The indicator words are all in a dim color. The most eye-catching color yellow is assigned to the current directory. For other colors’ setting, the same color will be assigned to different location with a long distance. And the more important it is, the more warmer color it is assigned to.

For the purpose of making the beginner to learn the command line easier, I set the dollar symbol “$” as the main command prompt. The %” or “# indicates the current state of the terminal. The “L” indicates current shell level, it can be useful when you are in nested shells. The last “N” indicates the current command number, with the time stamp you it may help you calculate how long a command takes.

The basic theme format:

The source code

What the theme looks like on other circumstances?

On Windows

On bare Linux server


  • Can you tell me how do you config your font please? Thank you!

    By the way, your zsh theme is the most beautiful I have seen! So I like it very much.

    • ys

      Please download the Inconsolata. Besides, It’s open sourced XD. For Mac, there are already plenty of tutorials about how to customize your terminal typeface. For Windows, please give the Cygwin or Xshell a try (it’s not easy to change the font of cmd).

  • BrightChen

    Good, I love it.

  • David Schwartz

    I love your theme. It gives you all the information you need to know about your current terminal session, but stays on its own line, and out of the way. Thanks a bunch!

  • IceHe

    Nice job!

  • TimothyYe


    • 我……无所不在!

      • TimothyYe


  • Paweł Adamczak

    I really love your theme. but I’m missing one thing – name of python virtualenv, if I’m ‘in’ any. Could you point me in direction to make that work with your theme?

    • ys

      Sorry, I don’t understand what you mean by saying “name of python virtualenv, if I’m ‘in’ any”.

  • Pingback: ys | A daysleeper’s dream port. – Paulo Rodrigues()

  • hi there~
    ys is great theme!!!
    Can ys show Date in hint line?

  • Tish

    I love this theme, and I”m using it, but it doesn’t have the same features as yours shows. It doesn’t differentiate the folder I’m in, etch.. Do I need to set up a file to connect that?

    • ys

      Could you open up an issue at with more information, such as a screenshot?

      • Tish

        before I do that, I’ll make sure i have files in order.. I’ve never tried customizing iterm this way, so its probably something I haven’t set up..thanks!