Giter Club home page Giter Club logo

asciiship's Introduction

asciiship

A heavily reduced, ASCII-only version of the Spaceship and Starship prompts.

What does it show?

  • On the top line:
    • Value of SHLVL when shell level is at least 2.
    • User name when root or in an SSH session.
    • Host name when in an SSH session.
    • Current directory.
    • Git information when you are in a git repo. This requires the git-info module, that can be customized with additional settings. The following information is shown:
      • Current branch name, or commit short hash when in 'detached HEAD' state.
      • Git action, when there's an operation in progress.
      • $ when there are stashed states.
      • ! when there are modified files.
      • + when there are staged files.
      • > and/or < when there are commits ahead and/or behind of remote, respectively.
    • Python venv indicator.
    • How long the last command took to execute. This requires the duration-info module, that can also be customized with additional settings.
  • On the bottom line:
    • * when there are background jobs running.
    • Exit code of last command, when it's not zero.
    • # when root, % otherwise.
    • Keymap indicator.

Requirements

Requires Zim's git-info module to show git information, and duration-info module to show the last command duration.

asciiship's People

Contributors

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