diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2017-08-19 21:20:24 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2017-08-19 21:20:24 +0200 |
| commit | 6deecc0cd94367cf106832ed7e8c4e4b9891bcb7 (patch) | |
| tree | 1f6e77bea1749a503cca2abc8dc2e01519bb78d8 /README.md | |
| parent | 4599d09dc26634e4fce69fc6df40cd5c15b3d5de (diff) | |
| download | gofu-6deecc0cd94367cf106832ed7e8c4e4b9891bcb7.tar.gz | |
documentation for prettyprompt
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..057d0ba --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Gofu + +Gofu is a multibinary containing several utilities that I use everyday. + +## What's with the name? + +A gofu, [according to Wikipedia](https://en.wikipedia.org/wiki/Gofu), is a +type of household amulet or talisman, issued by a Shinto shrine, hung in the +house for protection. + +Alternatively, the name can also be read as +"[Go](https://golang.org)-[fu](http://www.retrologic.com/jargon/F/suffix-fu.html)". + +# List of applets + +## `prettyprompt` + +This renders my shell prompt. Among other things, it identifies the current +host by name and signature color (in the screenshot below, dark green for +Krikkit); highlights path elements inside a Git repo (if any) and path elements +that have been deleted; reports the current Git repo status; and reports the exit +code of the previous command (if it failed). It also heavily saves space where +possible, e.g. if the cwd starts with `$GOPATH/src/`, that is shortened to +`repo:`. A prefix of `$HOME/` is omitted entirely, as is my default user name. + + + +## `rtree` + +TODO: document + +# Installation + +```bash +$ make && make install +``` |
