Skip to content

A custom Oh My Zsh theme that is jokingly styled on the complex machinations of the inside of an EVA unit, while also providing a little info about how to customise your own theme. Take the insanely long prompt's sections (colour-coded) and use them to learn how to style. On the way, enjoy Misato and Pen-Pen.

Notifications You must be signed in to change notification settings

Labern/EVA-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Custom EVA Theme

Goal: serve up an interesting EVA theme, and teach you to make your own. Thanks to the original EVA theme.

Prerequisites:

  • Install ZSH and Oh My Zsh
  • Access your ~/.zshrc file and find the THEME="" line

How to use

  1. Go to ~/.oh-my-zsh/themes and add custom.zsh-theme.

  2. Open ~/.zshrc and add THEME="custom".

  3. To customise, go to ~/.oh-my-zsh/themes/custom.zsh-theme.

Building a prompt

  1. Follow the instructions inside the file, such as: PROMPT="%{$fg_bold[blue]%}%n: "

In this case, it will change the prompt to the user's name in blue.

Some prompts

Prompt elements

PROMPT="" dictates the leftmost prompt

RPROMPT="" dictates a prompt on the right

%n = user

%~ = working directory

%m = computer

# = leave a comment

Colours

%{$fg_bold[blue]%} — that is, %{ opens the statements, then fg_bold selects the formatting (in this case, bold), and [blue] selects the colour. So you have: "Insert bold text of colour blue".

Notes

The theme is entitled "custom" because the goal is for you to create your own. While the original has its own colours and elements, you should be able to make your own and create something preposterous. That's why it's called custom.zsh-theme.

You may need to use chmod +x ~/.zshrc to be able to access it.

Also, make sure to select a text editor you like to open the files, e.g. nano ~/.oh-my-zsh/themes/custom.zsh-theme

This was built from the EVA theme, and modified.

Always respect Pen-Pen

The right side of the prompt, EVA \ 33.3 \ ペンペ, means EVA \ 33.3 \ Pen-Pen (in Katakana). That is:

What does ペンペン mean?

Respect this man

Bonus:

Add an EVA reference by adding an alias like CONFIG_EVA="nano ~/.oh-my-zsh/themes/custom.zsh-theme" to ~/.zshrc so you can run CONFIG_EVA to tweak it, as if you were Mistato, shouting orders at people before going back to Pen-Pen and boozin'.

Misato and Pen-Pen

Example

As you'll note, the line is hilariously long. The idea is to teach you how it all works so you can learn for yourself. You can even split things up onto separate lines to make something gloriously colourful.

Example of the theme

About

A custom Oh My Zsh theme that is jokingly styled on the complex machinations of the inside of an EVA unit, while also providing a little info about how to customise your own theme. Take the insanely long prompt's sections (colour-coded) and use them to learn how to style. On the way, enjoy Misato and Pen-Pen.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages