Re: [dev] suckless shell prompt?

From: Martti Kühne <>
Date: Thu, 21 Nov 2013 19:44:01 +0100

On Thu, Nov 21, 2013 at 4:54 PM, Markus Teich
<> wrote:
> Heyho,
> I've written a simple shell prompt programm in C. It takes up to two arguments
> (term width and last exit status code) and prints a pretty prompt containing
> info about git if you are inside a repository. Since I did not want to call
> multiple git and sed processes every time the prompt gets drawn, I use a single
> binary linking libgit2. The sloccount currently is at 286 lines of C code, but
> in some cases too complex for my liking. Therefore I would love to get some
> improvement ideas from you guys.
> You can find the project on github:
> --Markus

Staring at the code in horror.
Something about git and nyancat.
Without running the code - I have trust issues from similar occasions
- you're kidding, right?

Received on Thu Nov 21 2013 - 19:44:01 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 21 2013 - 19:48:13 CET