Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/erniebrodeur/goprompt
- Owner: erniebrodeur
- License: mit
- Created: 2019-01-02T04:43:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-27T06:03:34.000Z (over 5 years ago)
- Last Synced: 2024-10-19T05:34:00.363Z (2 months ago)
- Topics: go, golang, prompt, shell, zsh
- Language: Go
- Homepage:
- Size: 1.29 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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`
}
```