Skip to content

username Segment

Description

This segment print the current username.

Requirements

This segment has no requirement.

Variables

Variables Default Description
USERNAME_CHAR Character to show before the segment content
USERNAME_FG white Foreground color of segment
USERNAME_BG black Background color of segment, only used by v2

Examples

Prompt v1 Prompt v2
Full Version
username v1 full
username v2 full
Maximum Short Version
username v1 short
username v2 short


Last update: December 2, 2021
Back to top