Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zimfw/steeef

A customizable version of steeef's prompt theme.
https://github.com/zimfw/steeef

prompt theme zim zimfw zsh zsh-plugin zsh-plugins zsh-prompt zsh-theme

Last synced: about 2 months ago
JSON representation

A customizable version of steeef's prompt theme.

Awesome Lists containing this project

README

        

steeef
======

A customizable version of [steeef's] theme.

What does it show?
------------------

* "`user` at `hostname` in `working directory`"
* Git branch name, or commit short hash when in ['detached HEAD' state].
Also, unindexed, indexed, and untracked indicators, and an optional stashed
indicator (must be customized, see below).
* Python [venv] indicator.

Settings
--------

This theme can be customized with the following environment variables. If the
variable is not defined, the respective default value is used. There are default
colors for 256-color terminals (or otherwise).

| Variable | Description | Default value |
| --------------- | ----------------------- | ---------------- |
| USER_COLOR | User name color | 135 (or magenta) |
| HOST_COLOR | Host name color | 166 (or yellow) |
| PWD_COLOR | Working directory color | 118 (or green) |
| BRANCH_COLOR | Git branch name color | 81 (or cyan) |
| UNINDEXED_COLOR | Git unindexed color | 166 (or yellow) |
| UNINDEXED_IND | Git unindexed indicator | ● |
| INDEXED_COLOR | Git indexed color | 118 (or green) |
| INDEXED_IND | Git indexed indicator | ● |
| UNTRACKED_COLOR | Git untracked color | 161 (or red) |
| UNTRACKED_IND | Git untracked indicator | ● |
| STASHED_COLOR | Git stashed color | |
| STASHED_IND | Git stashed indicator | |

The git stashed indicator will not be shown unless defined.

Requirements
------------

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

[steeef's]: https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/steeef.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]: https://github.com/zimfw/git-info