231 Commits

Author SHA1 Message Date
e9fe40ca91 The aliases were not the way I decided to go... 2022-06-05 15:19:58 -04:00
2a3af31e7a Modernize the tty/line prompt. 2022-06-05 15:03:03 -04:00
78a3b59499 Add debugging print. 2022-06-05 14:58:59 -04:00
a9485b4b3b Fixed up the prompt sigil itself. 2022-06-05 12:35:21 -04:00
28ca17b30f Old prompt should just use an SGR reset.
This makes it more simple.
2022-06-05 03:24:30 -04:00
b96eb5ca34 User name colour prompt updated. 2022-06-05 03:12:22 -04:00
b9764bd8a6 Now updated brace_color... 2022-06-05 02:19:40 -04:00
286e9117f1 Host colour rewritten. 2022-06-05 01:38:23 -04:00
138e494ffb Added greyscale and rgb options for ext: colours. 2022-06-04 23:42:12 -04:00
69f9e98e61 Turn the main engine into a function. 2022-06-04 23:42:02 -04:00
348c0af58c Report errors that were originally silent. 2022-06-04 23:41:17 -04:00
d8b79c4034 Remove unused alias. 2022-06-04 20:37:02 -04:00
d0b12731e7 Clean up greys a bit, due to 16-base colours being user-mapped. 2022-06-04 16:09:58 -04:00
8b398af672 Did rework for text_color variable. 2022-06-04 15:13:28 -04:00
430a7e8b0e I've started the process of redesigning the colours. 2022-06-04 13:15:10 -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