BSD Ports

shells/git-prompt.zsh 2.4.0 DragonFly

Fast, customizable, pure-shell, asynchronous Git prompt for Zsh

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
shells
Package size
8.3 KiB, 25.9 KiB installed

Description

git-prompt.zsh is a fast, customizable, pure-shell, asynchronous Git prompt for Zsh. It is heavily inspired by Olivier Verdier's zsh-git-prompt and very similar to the "Informative VCS" prompt of fish shell.

In the other systems

SystemPortVersion
DragonFlyshells/git-prompt.zsh2.4.0
FreeBSDshells/git-prompt.zsh2.4.0
HardenedBSDshells/git-prompt.zsh2.4.0
GhostBSDshells/git-prompt.zsh2.4.0

Install

Binary package:

pkg install git-prompt.zsh

From DPorts:

cd /usr/dports/shells/git-prompt.zsh && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Final git-prompt.zsh setup instructions:

To add the git status indicator to your prompt, source git-prompt.zsh in
one of your Zsh startup files using

source /usr/local/share/git-prompt.zsh/git-prompt.zsh

Next, add ' $(gitprompt)%# ' to the end of the PROMPT value like in the
example below.

PROMPT='%n@%m %~ $(gitprompt)%# '

For details, refer to

/usr/local/share/doc/git-prompt.zsh/README.md

or

https://github.com/woefe/git-prompt.zsh