Switch to using BASH_VERSINFO rather than BASH_VERSION, since it
provides structured data.
BASH_VERSINFO
A readonly array variable whose members hold version information for this instance of bash. The values assigned to the array members are as follows:
BASH_VERSINFO[0] The major version number (the release).
BASH_VERSINFO[1] The minor version number (the version).
BASH_VERSINFO[2] The patch level.
BASH_VERSINFO[3] The build version.
BASH_VERSINFO[4] The release status (e.g., beta1).
BASH_VERSINFO[5] The value of MACHTYPE.
When release status is not "release", bash builds are in debug mode and
output extra information which disturbs the integration.
Closes #5473
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bench_scrollback.py | ||
| CascadiaCode-Regular.otf | ||
| check_build.py | ||
| choose.py | ||
| crypto.py | ||
| datatypes.py | ||
| diff.py | ||
| file_transmission.py | ||
| FiraCode-Medium.otf | ||
| fonts.py | ||
| glfw.py | ||
| gr.py | ||
| graphics.py | ||
| hints.py | ||
| iosevka-regular.ttf | ||
| keys.py | ||
| layout.py | ||
| LiberationMono-Regular.ttf | ||
| main.py | ||
| mouse.py | ||
| open_actions.py | ||
| options.py | ||
| parser.py | ||
| prewarm.py | ||
| screen.py | ||
| search_query_parser.py | ||
| shell_integration.py | ||
| ssh.py | ||
| tui.py | ||
| unicode_input.py | ||
| utmp.py | ||