https://github.com/zimfw/bira
A fork of bira's theme.
https://github.com/zimfw/bira
prompt theme zimfw zsh zsh-plugin zsh-plugins zsh-prompt zsh-theme
Last synced: 4 months ago
JSON representation
A fork of bira's theme.
- Host: GitHub
- URL: https://github.com/zimfw/bira
- Owner: zimfw
- License: mit
- Created: 2023-06-22T01:37:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-22T17:22:36.000Z (over 2 years ago)
- Last Synced: 2025-02-04T21:43:32.598Z (10 months ago)
- Topics: prompt, theme, zimfw, zsh, zsh-plugin, zsh-plugins, zsh-prompt, zsh-theme
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - bira - Fork of Oh-My-ZSH [bira](https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/bira.zsh-theme) theme. Includes decorators for working directory, username@host, `git` status information, Python [venv](https://docs.python.org/3/library/venv.html) and a status code when the last command had an error. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - bira - Fork of Oh-My-ZSH <b><code>182718⭐</code></b> <b><code> 26277🍴</code></b> [bira](https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/bira.zsh-theme)) theme. Includes decorators for working directory, username@host, `git` status information, Python 🌎 [venv](docs.python.org/3/library/venv.html) and a status code when the last command had an error. (Themes / ZSH on Windows)
README
bira
====
A fork of [bira]'s theme.

What does it show?
------------------
* On the left:
* username@hostname
* Working directory.
* Current git branch name, or commit short hash when in ['detached HEAD' state].
Also an indicator when in a dirty working tree.
* Python [venv] indicator.
* `#` when root, `$` otherwise.
* On the right:
* Status code when there was an error.
Advanced settings
-----------------
The git indicators can be customized by changing the following git-info module
context formats:
| Context name | Description | Default format |
| ------------ | ----------------- | -------------------- |
| branch | Branch name | `%b` |
| commit | Commit short hash | `%c` |
| dirty | Dirty state | `%F{red}●%F{yellow}` |
Use the following command to override a git-info context format:
zstyle ':zim:git-info:' 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 [git-info] module to show git information.
[bira]: https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/bira.zsh-theme
['detached HEAD' state]: https://git-scm.com/docs/git-checkout#_detached_head
[venv]: https://docs.python.org/3/library/venv.html
[git-info documentation]: https://github.com/zimfw/git-info/blob/master/README.md#settings
[git-info]: https://github.com/zimfw/git-info