Skip to content

A developer focused theme for zim: the ZSH-IMproved shell.

License

Notifications You must be signed in to change notification settings

ahashim/zim-butterhaus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

butterhaus

A simple bash-inspired prompt for ZIM, the ZSH-IMproved shell.

Screenshot

This theme is based on oblong and minimal.

What does it show?

  • Red λ when last command failed, green otherwise.
  • Current user.
  • Current working directory, relative to the git root when in a git repo.
  • Current git branch name, or commit short hash when in 'detached HEAD' state.
  • Red when in a dirty git working tree, green when in a clean one.

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{red} ◍

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

Requires Zim's git-info module to show git information.

About

A developer focused theme for zim: the ZSH-IMproved shell.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 100.0%