hostname
Segment
Description
This segment print the hostname of the computer.
Requirements
This segment has no requirement.
Variables
Variables | Default | Description |
---|---|---|
HOSTNAME_CHAR |
|
Character to show before the segment content |
HOSTNAME_FG |
white | Foreground color of the segment |
HOSTNAME_BG |
black | Background color of the segment, only used by v2 |
Examples
Prompt v1 | Prompt v2 | |
---|---|---|
Full Version | ||
Maximum Short Version |
Last update:
December 2, 2021