Skip to content
forked from zimfw/gitster

A Zim fork of shashankmehta's gitster prompt theme.

License

Notifications You must be signed in to change notification settings

maxrodrigo/gitster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitster

A Gister zsh theme with no dependencies.

Gitster

What does it show?

  • Red when last command failed, green otherwise.
  • Current working directory, relative to the root when in a repo.
  • Current branch name.
  • Stage and Unstaged satus.

Features

Advanced settings

This theme can customized by changing the following git-info module context formats, after the theme has been initialized:

Context name Description Default value
branch Branch name %b
commit Commit short hash %c
clean Clean state %F{green}✓
dirty Dirty state %F{yellow}✗

Use the following command to change the value of a context format:

zstyle ':zim:git-info:<context_name>' format '<new_value>'

For detailed information, check the git-info documentation.

Requirements

  • No extra dependecies. Uses zsh vcs_info module.
  • Compatible with Git, Subversion, Mercurial.

Self Promotion

Checkout μz a micro plugins manager for zsh.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%