What do you think are the good features a bash prompt should have?

This page summarizes the projects mentioned and recommended in the original post on /r/bash

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • hydro

    Ultra-pure, lag-free prompt with async Git status—just for Fish

  • My prompt basically mimics Fish’s Hydro prompt. The left is a single line that has a truncated $PWD, my git branch, a single symbol for whether my git project dir is ‘dirty’, and a prompt symbol ($ in Bash, % in Zsh, # if I’m root). I use a transient right prompt in Zsh too with command execution times over 10s. Python venvs are the only other thing, but that happens automatically when I activate one. After using this for years, everything else now feels like clutter.

  • homescripts

    Useful shell scripts and dotfiles for Linux (by REALERvolker1)

  • My zsh prompt is simple. It has my pwd, my error code, number of jobs, if I have passwordless sudo, if I’m in vi-mode, and it is transient too so it takes up less space when I hit enter. https://github.com/REALERvolker1/homescripts/blob/main/.config/zsh/rc.d/40-prompt.zsh

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • dotfiles

    My Linux configuration files (by bewuethr)

  • And because it's very instructive, I hand-rolled all the rest as well, resulting in this (set via PROMPT_COMMAND).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts