All supported segments
Color values
For variables having FG
or BG
, i.e. defining respectively foreground or
background colors, when setting colors variables, you do not need to write the
full color syntax, just enter the color code corresponding of the color your
want. The surrounded of the color code will be set by dynamic prompt depending
on your terminal. Example of value are shown below:
Color | 8 colors | 256 colors | True colors |
---|---|---|---|
Red | 1 | 196 | 255;0;0 |
Green | 2 | 046 | 0;255;0 |
Blue | 4 | 021 | 0;0;255 |
Set of 256 colors supported by 256 colors terminal are shown at the end of the
file common.exemple.sh
and in the image below. The number on the left of
hexadecimal colors value is the code of this color in 256 colors support.
Segment lists
Currently, all supported segments are in folder segments/
.
Following table give short description of each of them as well as link to their respective documentation.
Name | Short Description |
---|---|
hfill | Special segment to fill terminal line |
pwd | Current path |
bgjobs | Number of background jobs |
hostname | Hostname of the computer |
keepass | Keepass variables loaded |
kube | Kubernetes context |
openstack | OpenStack context |
tmux | Tmux windows and pane |
username | Current username |
vcsh | Name of the vcsh repo |
vcs | Version control informations |
virtualenv | Virtual environment informations |
Last update:
December 2, 2021