A rewrite of my personal git enabled shell prompt in plain C11.
This version aims to replicate the design of Gondolin.
You can configure the symbols by modifying config.h.
- Install cmake.
- Clone this repository.
- Inside the cloned repo do
mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make cp shprompt/shprompt /usr/local/bin - Add the following snippet to your
config.fishfunction fish_prompt shprompt --status $status end
For options see shprompt --help.
