Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/erniebrodeur/goprompt

A fast colorized prompt for the shell
https://github.com/erniebrodeur/goprompt

go golang prompt shell zsh

Last synced: about 1 month ago
JSON representation

A fast colorized prompt for the shell

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`
}
```