Export KONSOLE_VERSION as an environment variable
Summary:
The env var is exported as a numeric string (by removing the dots from
the version string), this has the benefit of making it simpler to compare
the version in shell arithmetic expressions.
This should help programms like neovim check if konsole has support
for terminal capabilities (e.g. DECSCUSR) by using a condition that
checks the konsole version. See also:
https://github.com/neovim/neovim/issues/8300
CCBUG: 347323
Reviewers: Konsole, hindenburg
Reviewed By: Konsole, hindenburg
Subscribers: Konsole
Tags: Konsole
Differential Revision: https://phabricator.kde.org/D12621