A minimal fork of subnixr's minimal prompt theme.
Left prompt:
#
when root, MNML_USER_CHAR otherwise.Right prompt:
A fork of the magic enter feature from subnixr's minimal is available separately in Zim's magic-enter module.
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 | · |
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.
Requires Zim's prompt-pwd module to show the current working directory, and git-info to show git information.