Kitsch-Prompt - golang based cross-platform shell prompt

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • go-git

    A highly extensible Git implementation in pure Go.

    I see that you’re using go-git, which has a problem with worktree.Status being unusably slow—and in a prompt you’ll most certainly need to use it. I know because I tried writing my prompt using go-git, and had it hang on a work repo for a good minute. Eventually bit the bullet and switched to git2go (libgit2 bindings; uses cgo).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • kitsch

    The extremely customizable and themeable shell prompt.

    So what I did was write my own little "gituilts" library and for something like getting the current HEAD, we'll drop into go-git's "plumbing" library directly and let it handle this sort of thing, because it does it well and fast enough.

  • posh-git

    A PowerShell environment for Git

    Starship is pretty slick, but I feel like it's lacking in the customization department. It's easy to get it to display whatever you want, but hard to get it to show it exactly how you want it. If you want a "powerline" style prompt, that's basically impossible in Starship (although it's one of the most upvoted feature requests). Or using color gradients on the prompt - I have this 16.7M color display, why am I limited to flat colors? Finally I'm a big fan of posh git, and Starship doesn't have the ability to display anything like this natively. I used a custom command to run a modified version of posh-git for a long time, but it wasn't very fast.

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

  • Stuck trying to execute a ps1 from my github repo

    1 project | /r/PowerShell | 1 Oct 2022
  • Repos and PowerShell

    1 project | /r/azuredevops | 6 Jul 2022
  • posh-git

    1 project | dev.to | 3 Jun 2022
  • Adding Git autocomplete to PowerShell (Windows)

    1 project | dev.to | 1 Apr 2022
  • A Deno-licious Workflow

    1 project | dev.to | 14 Nov 2021

Did you konow that Go is
the 4th most popular programming language
based on number of metions?