promptless

by dylanaraps

dylanaraps / promptless

๐Ÿš€ A super fast and extremely minimal shell prompt.

148 Stars 6 Forks Last release: 8 months ago (๐Ÿคฎ) MIT License 75 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

๐Ÿš€ promptless

Packaging status

A super fast and extremely minimal shell prompt.

Features

  • Fast
  • Minimal
  • Lightweight
  • POSIX sh (no external commands)
  • No dependencies
  • Works in all shells (that use
    $PS1
    ).

Table of Contents

Philosophy

promptless
follows the suckless philosophy and is simple by design. The codebase has a focus on elegance and clarity. The prompt is entirely hackable. Unnecessary and unworthy features need to be patched in.

Installation

Secure and Safe

curl "https://raw.githubusercontent.com/dylanaraps/promptless/master/install.sh" | sh

Webscale

npm install promptless

Run with Docker

docker build -t promptless .
docker run -it promptless

Distros

  • Arch:
    promptless
    in the AUR.

Manual

# Inside your .bashrc, .zshrc, etc.
. /path/to/promptless.sh

Tests

Run

./test.sh
to run unit tests on
promptless
.

NOTE: The testing framework requires

bash
since it's ROBUST.

Hacking

An array of intelligent patches are available in the

patches/
subdirectory. Patches for color support are not available as just like scroll-back, colors are bloat.

Compile time options

You can customize the prompt character at compile time.

make CHAR=">"

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.