coffee-theme / coffee.baz-plugin

[Migrated to self-hosted ari-web Forgejo: https://git.ari.lt/coffee/coffee.baz-plugin] Baz plugin for coffee theme in bash prompt

Home Page:https://git.ari.lt/coffee/coffee.baz-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Baz plugin: coffee.baz-plugin

Baz plugin for coffee theme in bash prompt

Installation

$ baz install git 'https://github.com/coffee-theme/coffee.baz-plugin'

Dependencies

  • GNU coreutils
  • (Optional) git -- show git branch
  • (Optional) virtualenv -- show current virtual environment

Looks

Screenshot

Customisation

  • COFFEE_ROOT_CHAR -- The character to use for the root user as the prompt [#]
  • COFFEE_CLR_USER -- The colour to use for the normal user [green]
  • COFFEE_USER_CHAR -- The character to use for the normal user as the prompt [%]
  • COFFEE_CLR_ERR -- The error colour [red]
  • COFFEE_CLR_VENV -- The colour to use for virtual environments [green]
  • COFFEE_CLR_ROOT -- The user colour for the root user [red]

Colours

The colours are not automatically escaped, to escape them you can use printf or smt:

E.g.

export COFFEE_CLR_USER="$(printf "\033[0;33m")"

About

[Migrated to self-hosted ari-web Forgejo: https://git.ari.lt/coffee/coffee.baz-plugin] Baz plugin for coffee theme in bash prompt

https://git.ari.lt/coffee/coffee.baz-plugin

License:Do What The F*ck You Want To Public License


Languages

Language:Shell 100.0%