Home

Awesome

gitster

A fork of shashankmehta's gitster theme.

<img width="706" src="https://zimfw.github.io/images/prompts/gitster@2.png">

What does it show?

Advanced settings

You can customize how the current working directory is shown with the prompt-pwd module settings.

The git indicators can be customized by changing the following git-info module context formats:

Context nameDescriptionDefault format
branchBranch name%b
commitCommit short hash%c
cleanClean state%F{green}%{%G✓%}
dirtyDirty state%F{yellow}%{%G✗%}

Use the following command to override a git-info context format:

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

For detailed information about these and other git-info settings, check the git-info documentation.

These advanced settings must be overridden after the theme is initialized.

Requirements

Requires Zim's prompt-pwd module to show the current working directory, and git-info to show git information.