An open API service indexing awesome lists of open source software.

https://github.com/erniebrodeur/goprompt

a hyper fast, lightly configurable prompt system written in Go for speed.
https://github.com/erniebrodeur/goprompt

go golang prompt shell zsh

Last synced: 5 months ago
JSON representation

a hyper fast, lightly configurable prompt system written in Go for speed.

Awesome Lists containing this project

README

          

# goprompt

[![CodeFactor](https://www.codefactor.io/repository/github/erniebrodeur/goprompt/badge)](https://www.codefactor.io/repository/github/erniebrodeur/goprompt)
[![Go Report Card](https://goreportcard.com/badge/github.com/erniebrodeur/goprompt)](https://goreportcard.com/report/github.com/erniebrodeur/goprompt)

## Usage

Install

go get github.com/erniebrodeur/goprompt/cmd/goprompt

then

goprompt

## Shell Integration

### Zsh

```
#!/bin/zsh
#------------------------------
# Prompt
#------------------------------
function precmd () {
PROMPT=`~/go/bin/goprompt`
}
```