GithubHelp home page GithubHelp logo

miguelcostero / hyper-oh-my-zsh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from willmendesneto/hyper-oh-my-zsh

1.0 1.0 0.0 7 KB

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

License: MIT License

hyper-oh-my-zsh's Introduction

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

Hyper Oh-My-ZSH - Inside a folder without git configuration

Inside a folder with git configuration

Hyper Oh-My-ZSH - Inside a folder with git configuration

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):

  • Current working directory
  • Git branch
  • Exit code of last command
  • Time since last commit
  • Git status
  • Background Jobs

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

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

Right hand prompt

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

Author

Wilson Mendes (willmendesneto)

hyper-oh-my-zsh's People

Contributors

pierreleguen avatar willmendesneto avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.