Overview
Comment: | zshrc: More ways to check for truecolor terminal |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9686d84236461847d8a05df6ae2a7541 |
User & Date: | js 2020-06-14 21:00:06 |
Context
2020-06-15
| ||
20:58 | fish: Convert abbreviations to aliases check-in: 8f7cbebaa6 user: js tags: trunk | |
2020-06-14
| ||
21:00 | zshrc: More ways to check for truecolor terminal check-in: 9686d84236 user: js tags: trunk | |
20:54 | zshrc: Add support for 24-bit color check-in: 062db63578 user: js tags: trunk | |
Changes
Changes to zshrc.
︙ | ︙ | |||
11 12 13 14 15 16 17 | local grep="" local grep_color="auto" local ls="" local ls_color="auto" local ls_on_cd="yes" local ls_on_init="no" | > | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | local grep="" local grep_color="auto" local ls="" local ls_color="auto" local ls_on_cd="yes" local ls_on_init="no" if [ "$COLORTERM" = "24bit" -o "$COLORTERM" = "truecolor" \ -o "$terminfo[colors]" = 16777216 ]; then local color_cwd="#209060" local color_host="#176945" local color_suffix="#29bc7d" local color_vcs="#43d696" local color_vcs_braces="#29bc7d" else local color_cwd="29" |
︙ | ︙ |