Giter Club home page Giter Club logo

minimal's Introduction

M_N_M_L

Here's a screenshot:

alt tag

Damn son! Show me teh codez!!

Zgen:

zgen load S1cK94/minimal minimal

Antigen:

antigen theme S1cK94/minimal minimal

Oh-my-zsh:

cd path/to/ohmyzsh/custom/themes
wget https://raw.github.com/S1cK94/minimal/master/minimal.zsh-theme

And set ZSH_THEME="minimal" somewhere in .zshrc.
Note that there is already a theme named minimal but themes under custom folder should take precedence. If not, you can always rename to minimal-custom.zsh-theme and set ZSH_THEME="minimal-custom".

Or, since it doesn't rely on any framework, you can always grab and source it.

What does it shows?

Let's breakdown the left prompt (from left to right):

  • User privilege:
    • green if root.
    • reset if not.
  • Background jobs:
    • green if 1 or more jobs in background.
    • reset if 0 jobs.
  • Keymap indicator:
    • green if in main or vi insert mode
    • reset if in vi command mode
  • Exit status:
    • green if last command returned 0.
    • red if not.

On the right prompt:

  • The two last diretory from pwd.
    • Directory names longer than 10 chars will be abbreviated if MINIMAL_SHORTEN is set to true.
      eg: 01234567890ABCDEF -> 0123..CDEF
  • The git branch name only when you are in a git repo. Its color shows different statues:
    • red if is dirty or has diverged from origin
    • yellow if is behind
    • white if is ahead
    • green if none of the above

LICENSE

MIT (see LICENSE file)

minimal's People

Contributors

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