diff options
| author | Kerin Millar <kfm@plushkava.net> | 2025-05-03 06:05:40 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-04 05:58:22 +0100 |
| commit | b39e66dce51adbe2ccef98dbd7e321c6c2e6b835 (patch) | |
| tree | 67968a468ecd9d0a72fff0479116f6fc7bc7a339 /dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild | |
| parent | 559c40d48e12de598637c7739ab79de15d0711c4 (diff) | |
| download | gentoo-b39e66dce51adbe2ccef98dbd7e321c6c2e6b835.tar.gz gentoo-b39e66dce51adbe2ccef98dbd7e321c6c2e6b835.tar.bz2 gentoo-b39e66dce51adbe2ccef98dbd7e321c6c2e6b835.zip | |
app-shells/bash: add 5.2_p37-r2 with optimised colour/prompt intialisation
This revision brings two changes to the 10-gentoo-color.bash drop-in.
Firstly, try to match the value of TERM against the whitelist of
terminals known to support colour, only employing tput(1) as a last
resort. Given that the list is now a well-curated one, it makes sense to
try to forgo the expense of executing an external utility.
Secondly, micro-optimise the method by which readline support is
detected. It is ever so slightly faster to run ( ! shopt -u direxpand )
as opposed to [[ ! $(shopt -p direxpand) ]].
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.4.0.ebuild')
0 files changed, 0 insertions, 0 deletions
