# oblong A simple bash-inspired prompt for [ZIM], the ZSH-IMproved shell. Tango Dark Theme Nord Theme This prompt is based on [gitster] and [basher]. ## What does it show? - Red `◼` when last command failed, white otherwise. - Python [venv] indicator. - Current user. Red if user is root. - 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:' format '' For detailed information, check the [git-info documentation]. ## Requirements Requires Zim's [git-info] module to show git information. ['detached head' state]: http://gitfaq.org/articles/what-is-a-detached-head.html [git-info documentation]: https://github.com/zimfw/git-info/blob/master/README.md#theming [git-info]: https://github.com/zimfw/git-info [zim]: https://github.com/zimfw/zimfw [gitster]: https://github.com/zimfw/gitster [basher]: https://gitlab.com/Spriithy/basher [venv]: https://docs.python.org/3/library/venv.html