Home

Awesome

Zsh bar theme tool

A rust tool to create a customized Zsh prompt

Dependencies

Usage

The tool can be used to generate a Zsh prompt (in a similar form to Oh-My-Zsh themes).

The example in example.zsh-theme runs the tool every time a prompt is needed, but the output could also just be piped to a file to be used as-is

Screenshots

My personal Zsh prompt My personal Zsh prompt

Installation

If you don't want to run this for every instance of Zsh, just clone the repository and use cargo run -- [prompt configuration].

Prompt configuration format

A series of info, each with a specfic color, and seperated by triangles

Configured by the parameter, formatted as '(background;foregound)key>'...

Each section is seperated by a >, < or |, and has the colors specified by in the parenthesis

Color is passed (unmodified) to %K{} and %F{}, and the foregound is optional

Contributing

At this point in time, I do not have any real need to add features. If you think something is missing, open an issue, or maybe just code it yourself.

If you would like to contribute, feel free to make a pull request. When doing so, please use rustfmt to format.