Useful Shell Prompt (2020)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • starship

    ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

  • https://starship.rs/

    It's very feature-rich, showing suitable context for a variety of tools, and can be customised if the defaults don't provide the information you're after.

  • powerlevel10k

    A Zsh theme

  • If you're running zsh, I suggest using powerlevel10k[0]. It is stupid fast, and extremely customisable.

    [0] https://github.com/romkatv/powerlevel10k

  • 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
  • pure

    Pretty, minimal and fast ZSH prompt (by sindresorhus)

  • I've been using pure theme for a few years and absolutely love it. It shows me everything I need, but doesn't feel cluttered.

    It uses 2 lines, which is actually really nice. It gives space to show where you are and git status/branch, while still allowing you to write long commands.

    https://github.com/sindresorhus/pure

  • dotfiles

    My dotfiles. (by thanatos)

  • https://github.com/thanatos/dotfiles/blob/master/shell/zsh/p...

    I've tried to highlight roughly the relevant bits.

    The basics of it is that we lazy-load an associative array between exit statuses that are signals and their prettified names. (Which we more or less build by querying Python, to get at what's, essentially, defined in signal.h.)

    Once we have that assoc. array, when we get a non-zero exit, we see if it's in the array. If it is, look up the pretty name, print message. If not, just print message with raw exit status. Red & bold so it shows up. (Should probably also use bright red, too. But my work laptop is macOS, & so it's iTerm2, and iTerm2 interprets "bold" to mean "bright & bold".)

    I also use zsh, which is able to be considerably more expressive in what it can accomplish in a PS1 than bash can. Note that the syntax,

      ${+VAR}

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

  • spaceship-prompt v4.7.0 introduces Perl support. It displays the version of Perl in the prompt within Perl projects.

    2 projects | /r/perl | 2 Nov 2022
  • Mastering Bash and Terminal

    3 projects | news.ycombinator.com | 10 Dec 2021
  • How do I enable this on vscode terminal on macOS

    6 projects | /r/vscode | 17 Sep 2021
  • Shell Prompts | Which ones do you recommend?

    4 projects | /r/linux4noobs | 12 Aug 2021
  • Typer: A terminal user-interface (written in Go) for measuring your typing speed.

    5 projects | /r/golang | 27 Mar 2021