Git Product home page Git Product logo

agnosterzak-ohmyzsh-theme's Introduction

AgnosterZak for oh-my-zsh Travis CI

AgnosterZak is a oh-my-zsh shell theme based on the Powerline Vim plugin & Agnoster Theme.

It currently shows:

  • Battery Life (in case of the laptop is not charging)
  • Timestamp
  • Current directory
  • Git status
  • User & Host status

Preview

Preview

Other color schemes

It's better to use AgnosterZak with a Solarized dark color scheme or others dark color schemes.

Requirements

In order to use the theme, you will first need:

  • Powerline compatible fonts like Vim Powerline patched fonts, Input Mono or Monoid.
  • On Ubuntu like systems you'll need the ttf-ancient-fonts package to correctly display some unicode symbols that are not covered by the Powerline fonts above.
  • A ZSH framework like oh-my-zsh

Installing

After installing oh-my-zsh

  1. Download the theme here

  2. Put the file agnosterzak.zsh-theme in $ZSH_CUSTOM/themes/

  3. Configure the theme in your ~/.zshrc file:

ZSH_THEME="agnosterzak"

Options

AgnosterZak is configurable. You can change colors and which segments you want or don't want to see. All options must be overridden in your .zshrc file.

Segments

Battery Life

The info will display in case of the laptop is not charging

Preview

Battery status Color
more than 39% green
less than 40% and more than 19% yellow
less than 20% red

Git

git-preview-1

git-preview-2

Color States

|Background Color & Foreground Color|Meaning |----------------|----------------|-------| |git-clean|Absolutely clean state |git-stash|There are stashed files |git-untracked|There are new untracked files |git-modified|There are modified or deleted files but unstaged

Icons

Icon Meaning
clean directory
new untracked files preceeded by their number
added files from the new untracked ones preceeded by their number
deleted files preceeded by their number
modified files preceeded by their number
± added files from the modifies or delete ones preceeded by their number
ready to commit
sets of stashed files preceeded by their number
branch has a stream, preceeded by his remote name
commits ahead on the current branch comparing to remote, preceeded by their number
commits behind on the current branch comparing to remote, preceeded by their number
<B> bisect state on the current branch
>M< Merge state on the current branch
>R> Rebase state on the current branch

Credits

This theme is highly inspired by the following themes:

agnosterzak-ohmyzsh-theme's People

Contributors

zakaziko99 avatar

Watchers

 avatar  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.