Oh-My-ZSH theme based on hyper terminal default theme π
It requires a change on your terminal. Change your cursor color to magenta
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):
- Current working directory
- Git branch
- Exit code of last command
- Time since last commit
- Git status
- Background Jobs
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! πππ
Variable | Indicator | Meaning |
---|---|---|
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 |
The right hand prompt displays the current branch, time since last commit, as well as commit status of the repository
Variable | Branch Color |
---|---|
ZSH_THEME_GIT_TIME_SINCE_COMMIT_SHORT |
Green |
ZSH_THEME_GIT_TIME_SINCE_COMMIT_MEDIUM |
Yellow |
ZSH_THEME_GIT_TIME_SINCE_COMMIT_LONG |
Red |
ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRAL |
White |
Wilson Mendes (willmendesneto)