Commit Graph

167 Commits

Author SHA1 Message Date
2a330591cb Trying new intensity computations... 2022-06-04 10:43:09 -04:00
2737fbb288 Special case grey 2022-06-04 10:18:07 -04:00
b91fa6c891 Special case brown mapping 2022-06-04 10:16:30 -04:00
6d2fa26e6c Clean up a comment. 2022-06-04 10:16:02 -04:00
f4a65f9a8b Show colors in all possible modes in dump. 2022-06-04 10:12:46 -04:00
79a5382059 Fix cyan! 2022-06-04 10:12:09 -04:00
216807a4cd Did the todo! 2022-06-04 09:30:49 -04:00
1c32e0aa8c Move color dump to earlier in sgr builder. 2022-06-04 09:29:55 -04:00
5bbd039f7c Make color dump pretty. 2022-06-04 09:29:38 -04:00
89446b9e4b Add the whole EGA/VGA selection to the name table. 2022-06-04 09:29:14 -04:00
7007770cb5 Add 12-bit color support. 2022-06-04 09:10:51 -04:00
5d0e0d3741 Add named colour support to SGI builder.
I'd like to add support for a named color table which can be
scanned in...
2022-06-04 08:59:00 -04:00
f5ced0e388 Now __build_sgr_code supports a simple language
This makes it easy in configs to build control codes for
colour, etc.
2022-06-04 08:56:51 -04:00
e34caae816 Add support for other SGR tokens to the ansi code builder. 2022-06-04 08:56:47 -04:00
856fd35085 This sets me up to do more adaptive colours with the prompt.
Colours now can use 24-bit colour sequences.

A script drives the generation of SGR codes...  Now I just have
to integrate this into `tcshrc.prompt.final`, for dynamic updating.
2022-06-04 08:56:40 -04:00
328c1c13e3 Fine grained control over prompt elements.
Use `CSHENV_DISABLE_PROMPT_` env vars to control these.
2022-06-04 08:56:35 -04:00
910f194c4e Use a more portable branch symbol.
(I need a way to auto-detect the powerline one and use it when that
is present.)
2022-06-04 08:56:32 -04:00
9bc6b1a248 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-23 17:01:55 -04:00
861132a187 Use the branch symbol in the Supplementary Special purpose Plane
It seems to be in the fonts I like to use... so...
2022-05-18 00:09:50 -04:00
3ee79caa83 Make the prompt char itself have no colour (dim/reset). 2022-05-18 00:09:21 -04:00
ac869bf860 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-17 11:29:38 -04:00
6754d29dfa I don't like rebasing as part of a pull or merge strategy 2022-05-17 11:29:10 -04:00
b958dcbfc9 Merge branch 'master' of github.com:adamlsd/cshenv 2022-05-16 15:51:43 -04:00
3c84f07a46 Starting to mess with a light-color mode for mornings. 2022-05-16 15:44:47 -04:00
79ab6245ee Update prompt to show git branch name.
I should take some time, go back, and restructure some
of how the prompt gets built/calculated.  But this is fine
for now.
2022-05-16 15:28:48 -04:00
2c314a8d91 Use a builtin for show branch name. 2022-05-16 15:27:50 -04:00
6e4d743af6 Prevent repeated colours or symbols. 2022-04-29 15:26:06 -04:00
19c7e2495d Merge branch 'master' of github.com:adamlsd/cshenv 2022-04-28 17:01:02 -04:00
f7c5854222 Added a new addage. 2022-04-28 17:00:16 -04:00
894f18c7f8 Added lexical cast exception highlight. 2022-04-28 16:59:51 -04:00
c9f70665c4 Make unicode char construction more portable. 2022-04-22 17:37:32 -04:00
58cd473e63 Merge branch 'master' of github.com:adamlsd/cshenv
Conflicts:
	vim/after/syntax/cpp.vim
2022-04-19 14:32:33 -04:00
a9b6fe10da A whole bunch of C++ highlight support. 2022-04-19 14:30:06 -04:00
8672bf09e9 Battery level support for macosx. 2022-04-15 15:59:26 -04:00
f725a1d9e0 Adjust for dumbness in how macos sed replaces things.
`tr` is more straightforward.
2022-04-15 15:58:34 -04:00
5c7b5f3ff8 DUH.... sed replaces with global... 2022-04-15 15:53:50 -04:00
2f353a600d Fix the prompt tagging in macosx.
Something is dumb with the unicode Terminal... so I'm punting for now.
2022-04-15 15:52:44 -04:00
51e339ce74 Fix prompt shuffling when shuf is not found. 2022-04-15 15:31:44 -04:00
fcc856f62b Merge remote-tracking branch 'origin/master' 2022-04-15 15:14:50 -04:00
d53a244b5f Make battery level label italic and more visible. 2022-04-15 15:13:00 -04:00
39d8216198 Use GBP symbol for Escape, to work with GNOME touchscreen. 2022-04-15 15:12:20 -04:00
7758c2b961 Vim touchscreen scrolling support.
Use the environment variable to turn it on.
2022-04-15 15:10:18 -04:00
5174b9bee6 Configurable battery level source file 2022-04-15 15:02:59 -04:00
69e71ce4d1 Make battery device configurable 2022-04-14 16:40:54 -04:00
852809a7a3 Merge branch 'master' of https://github.com/adamlsd/cshenv 2022-04-14 13:55:55 -04:00
9395659d4e Added a few C++ lib types to syntax highlighting 2022-04-14 13:55:21 -04:00
1ea3331a3a Add battery level into prompt.
Has to be turned on by an env variable, and I only tested it on one
laptop so far.
2022-04-14 13:54:03 -04:00
3a20ae1e5d Add ls highlights for more compressed files. 2022-02-17 13:07:26 -05:00
9630c01a5a Add a few more syntax highlights for C++. 2022-02-17 13:06:55 -05:00
b188aca149 More C++ keywords. 2021-10-18 00:36:23 -04:00