__fishline_segment
- Arguments:
bg_clr
: background color of the new segmentfg_clr
: foreground color of the new segmentpre
: printFLSYM_{LEFT|RIGHT}_PRE
in the new segment [optional, default: true]post
: printFLSYM_{LEFT|RIGHT}_POST
in the new segment [optional, default: true]
- Description: create a new segment based on
fg_clr
&bg_clr
- Arguments:
__fishline_segment_close
- Arguments: N/A
- Description: close the line (previous segment) and colors to
normal
normal
__fishline_test
- Arguments:
segment
: name of the segment to test
- Description: test the segment passed as argument
- Arguments:
__fishline_usage
- Arguments: N/A
- Used by:
fishline -h
- Description: show a small help for
fishline
and return
__fishline_version
- Arguments: N/A
- Used by:
fishline -v
- Description: show
fishline
software version based ongit describe
and exit
FLINT_STATUS
- Possible values:
false
| copy of-s $status
value - Used by:
fishline
& some segments
- Possible values:
FLINT_FIRST
- Possible values:
true
|false
- Used by:
fishline
,__fishline_segment
&__fishline_segment_close
- Possible values:
FLINT_LAST
- Possible values:
true
|false
- Used by:
fishline
,__fishline_segment
&__fishline_segment_close
- Possible values:
FLINT_POSITION
- Possible values:
left
|right
- Used by:
fishline
&__fishline_segment
- Possible values:
FLINT_BCOLOR
- Possible values: deleted | any color
- Used by:
fishline
,__fishline_segment
FLINT_PRINT_POST
- Possible values:
true
|false
- Used by:
fishline
,__fishline_segment
- Possible values:
FLINT_INVERT
- Possible values:
true
|false
- Used by:
fishline
,__fishline_segment
,__flseg_invert
- Possible values:
FLINT_TEST_SEG
- Possible values: any segment
- Used by:
__FLINT_TEST
FLINT_TEST_STATUS
- Possible values: any exit code (0-255)
- Used by:
__FLINT_TEST
FLSYM_SEPARATOR
- Possible values:
$FLSYM_LEFT_SEPARATOR
|$FLSYM_RIGHT_SEPARATOR
- Possible values:
FLINE_DEFAULT_PROMPT
- Possible values: list of segment
- Used by:
fishline
FLINE_PROMPT
- Possible values: list of segment
- Used by:
fishline
FLINE_INIT
- Possible values:
true
- Used by:
init.fish
- Possible values:
FLSEG_STATUS_NAME
- Value: list of signal name indexed from their code
- Used by:
__flseg_sigstatus
- Initialized in:
init.fish