promptless

授权协议 MIT License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 梅宏盛
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

�� promptless

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=">"

相关阅读

相关文章

相关问答

相关文档