Giter Club home page Giter Club logo

minimal's Introduction

M_N_M_L

Here's a screenshot of minimal-path-git variant:

alt tag

There are 4 variants:

  • minimal: it loads only minimal module.
  • minimal-path: it loads minimal and path modules.
  • minimal-path-host: it loads minimal, path and host modules.
  • minimal-path-git: it loads minimal, path and git modules.
  • minimal-path-git-host: loads minimal, path, git and host modules

minimal

The left prompt is very discrete but useful:

❯❯❯
  • The first will light up (becomes green) if you have super user privileges.
  • The second will light up (becomes green) if you have 1 or more background jobs.
  • The third will become green if the exit status of your last command is 0, otherwise will become red

minimal-path

It will show the last 2 segments of your current directory in the right prompt.
Home directory is abbreviated with ~.

❯❯❯                                                           Workspace/minimal

minimal-path-host

It will display the hostname (up to the first .) in the right prompt.

❯❯❯                                                   Workspace/minimal SierraX

minimal-path-git

If you work with git, you will appreciate this.
It will show branch information in the right prompt. The branch name will be red if is dirty, otherwise will be green.

❯❯❯                                                    Workspace/minimal master

minimal-path-git-host

It shouldn't be hard to guess at this point, but here the example anyway.

❯❯❯                                            Workspace/minimal master SierraX

LICENSE

MIT (see LICENSE file)

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.