The aliases were not the way I decided to go...

This commit is contained in:
2022-06-05 15:19:58 -04:00
parent 2a3af31e7a
commit e9fe40ca91

View File

@ -72,13 +72,10 @@ set bright_white="$csi$ansi_bright;$ansi_white$ansi_color"
# True colour support #
#######################
# The idea behind a true colour variable is that you run: `color_from_hex ff0077` and it expands to
# The idea behind a true colour variable is that you run: `__build_sgr_code ff0077` and it expands to
# a proper colour sequence for a 24-bit color. The shell script which computes these will also attempt to
# compute a rounded version of your color for use with 8-bit color and a weaker rounded form for use
# with 3 and 4 bit color.
# You process true colour by evaluating `__make_color_sequence` on the environment variable.
alias __make_color_sequence ${CSHENV_DIR}/bin/__hex_to_ansi
# with 3 and 4 bit color. It does this based upon your terminal colour depth.
set sgr_reset="[`__build_sgr_code no-csi reset`m"