Home

Awesome

Hyper Oh-My-ZSH

Oh-My-ZSH theme based on hyper terminal default theme ๐Ÿ˜Ž

Screenshot

It requires a change on your terminal. Change your cursor color to magenta

Inside a folder without git configuration

<img width="682" alt="Hyper Oh-My-ZSH - Inside a folder without git configuration" src="https://user-images.githubusercontent.com/1252570/43366463-d48d9f68-9381-11e8-9871-9166c6c29da6.png">

Inside a folder with git configuration

<img width="682" alt="Hyper Oh-My-ZSH - Inside a folder with git configuration" src="https://user-images.githubusercontent.com/1252570/43366555-1a7e5eb2-9383-11e8-89d5-98b255968bdb.png">

About the theme

hyper-oh-my-zsh is a z shell theme designed to complement a git-focused workflow based on Hyper default terminal theme. It gives you a comprehensive overview of the branch you're working on and the status of your repository throughout the development process without cluttering your terminal.

It currently shows (in order of the prompt):

Installation

If you're using oh-my-zsh, you need to make sure that you have the a themes folder inside the oh-my-zsh custom folder and you're using the new theme ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰

To install this theme, open your terminal and paste this command into your command line.

mkdir -p $ZSH_CUSTOM/themes && wget -O $ZSH_CUSTOM/themes/hyper-oh-my-zsh.zsh-theme https://raw.githubusercontent.com/willmendesneto/hyper-oh-my-zsh/master/hyper-oh-my-zsh.zsh-theme

After that, open your ~/.zshrc file in your prefered code/text editor and set ZSH_THEME="current_theme" to ZSH_THEME="hyper-oh-my-zsh". And when you reload your command line it's done! ๐Ÿ‘๐Ÿ‘๐Ÿ‘

Prompt configuration

Git Status Indicators

VariableIndicatorMeaning
ZSH_THEME_GIT_PROMPT_UNTRACKEDโ—’Untracked files
ZSH_THEME_GIT_PROMPT_ADDEDโœ“Files added to git
ZSH_THEME_GIT_PROMPT_MODIFIEDโ–ณModified files
ZSH_THEME_GIT_PROMPT_DELETEDโœ–Deleted files
ZSH_THEME_GIT_PROMPT_RENAMEDโžœRenamed files
ZSH_THEME_GIT_PROMPT_UNMERGEDยงUnmerged files
ZSH_THEME_GIT_PROMPT_AHEADโ–ฒRepo ahead of current branch
ZSH_THEME_GIT_PROMPT_DIRTYโœ—Dirty repository

Right hand prompt

The right hand prompt displays the current branch, time since last commit, as well as commit status of the repository

VariableBranch Color
ZSH_THEME_GIT_TIME_SINCE_COMMIT_SHORTGreen
ZSH_THEME_GIT_TIME_SINCE_COMMIT_MEDIUMYellow
ZSH_THEME_GIT_TIME_SINCE_COMMIT_LONGRed
ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRALWhite

Author

Wilson Mendes (willmendesneto)