zimfw / minimal

A minimal fork of subnixr's minimal prompt theme.
GNU General Public License v3.0
8 stars 3 forks source link
minimal prompt theme zim zimfw zsh zsh-plugin zsh-plugins zsh-prompt zsh-theme

minimal

A minimal fork of subnixr's minimal prompt theme.

What does it show?

Left prompt:

Right prompt:

Magic enter

A fork of the magic enter feature from subnixr's minimal is available separately in Zim's magic-enter module.

Settings

This theme can be customized with the following environment variables. If a variable is not defined, the respective default value is used.

Variable Description Default value
MNML_OK_COLOR Color for successful things green
MNML_ERR_COLOR Color for failures red
MNML_BGJOB_MODE Mode applied when there are background jobs 4
MNML_USER_CHAR Character used for unprivileged users λ
MNML_INSERT_CHAR Character used for main or vi insert mode
MNML_NORMAL_CHAR Character used for vi command mode ·

Advanced settings

You can customize how the current working directory is shown with the prompt-pwd module settings.

These advanced settings must be overridden after the theme is initialized.

Requirements

Requires Zim's prompt-pwd module to show the current working directory, and git-info to show git information.