vcsh
Segemnt
Description
As I use vcsh to manage my dotfiles, I need to know when I am in a vcsh shell.
This segment is only shown when in a vcsh shell, i.e. when global variable
VCSH_REPO_NAME
exists and is not empty. The content of the segment is the
value of variable VCSH_REPO_NAME
.
Requirements
Obviously, this segement requires vcsh
to be installed.
Variables
Variables | Default | Description |
---|---|---|
VCSH_CHAR |
|
Character to show before the segment content |
VCSH_FG |
white | Foreground color of segment |
VCSH_BG |
black | Background color of segment, only used by v2 |
Examples
Prompt v1 | Prompt v2 | |
---|---|---|
Full Version | ||
Maximum Short Version |
Last update:
December 2, 2021