Skip to content

Version control information in the prompt (written in Go)

License

Notifications You must be signed in to change notification settings

colincarter/goprompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goprompt

Goprompt is a VCS prompt for Git (and Mercurial).

This is my first Go application. I used it to learn about Interfaces.

Goprompt has no external dependencies other than the standard library

How to build and install

go install

Update your bash/zsh shell prompt:

PROMPT='(goprompt -f t:bnm)'

By default it prints out a prompt like this:

[git:master?] # if there are untracked files

And:

[git:master+] # if there are changes not staged for commit

About

Version control information in the prompt (written in Go)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages